DigitalTwinsDescriptionInner Class

public final class DigitalTwinsDescriptionInner
extends DigitalTwinsResource

The description of the DigitalTwins service.

Constructor Summary

Constructor Description
DigitalTwinsDescriptionInner()

Creates an instance of DigitalTwinsDescriptionInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdTime()

Get the createdTime property: Time when DigitalTwinsInstance was created.

static DigitalTwinsDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of DigitalTwinsDescriptionInner from the JsonReader.

String hostname()

Get the hostname property: Api endpoint to work with DigitalTwinsInstance.

String id()

Get the id property: Fully qualified resource Id for the resource.

OffsetDateTime lastUpdatedTime()

Get the lastUpdatedTime property: Time when DigitalTwinsInstance was updated.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: The private endpoint connections.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DigitalTwinsDescriptionInner withIdentity(DigitalTwinsIdentity identity)

Set the identity property: The managed identity for the DigitalTwinsInstance.

DigitalTwinsDescriptionInner withLocation(String location)
DigitalTwinsDescriptionInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: The private endpoint connections.

DigitalTwinsDescriptionInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.

DigitalTwinsDescriptionInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from DigitalTwinsResource

Methods inherited from java.lang.Object

Constructor Details

DigitalTwinsDescriptionInner

public DigitalTwinsDescriptionInner()

Creates an instance of DigitalTwinsDescriptionInner class.

Method Details

createdTime

public OffsetDateTime createdTime()

Get the createdTime property: Time when DigitalTwinsInstance was created.

Returns:

the createdTime value.

fromJson

public static DigitalTwinsDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of DigitalTwinsDescriptionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DigitalTwinsDescriptionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hostname

public String hostname()

Get the hostname property: Api endpoint to work with DigitalTwinsInstance.

Returns:

the hostname value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DigitalTwinsDescriptionInner.id()

Returns:

the id value.

lastUpdatedTime

public OffsetDateTime lastUpdatedTime()

Get the lastUpdatedTime property: Time when DigitalTwinsInstance was updated.

Returns:

the lastUpdatedTime value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DigitalTwinsDescriptionInner.name()

Returns:

the name value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: The private endpoint connections.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.

Returns:

the publicNetworkAccess value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.

Overrides:

DigitalTwinsDescriptionInner.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DigitalTwinsDescriptionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DigitalTwinsDescriptionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DigitalTwinsDescriptionInner.validate()

withIdentity

public DigitalTwinsDescriptionInner withIdentity(DigitalTwinsIdentity identity)

Set the identity property: The managed identity for the DigitalTwinsInstance.

Overrides:

DigitalTwinsDescriptionInner.withIdentity(DigitalTwinsIdentity identity)

Parameters:

identity

withLocation

public DigitalTwinsDescriptionInner withLocation(String location)

Overrides:

DigitalTwinsDescriptionInner.withLocation(String location)

Parameters:

location

withPrivateEndpointConnections

public DigitalTwinsDescriptionInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: The private endpoint connections.

Parameters:

privateEndpointConnections - the privateEndpointConnections value to set.

Returns:

the DigitalTwinsDescriptionInner object itself.

withPublicNetworkAccess

public DigitalTwinsDescriptionInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the DigitalTwinsDescriptionInner object itself.

withTags

public DigitalTwinsDescriptionInner withTags(Map<String,String> tags)

Overrides:

DigitalTwinsDescriptionInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to