Class DigitalTwinsDescriptionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.digitaltwins.models.DigitalTwinsResource
-
- com.azure.resourcemanager.digitaltwins.fluent.models.DigitalTwinsDescriptionInner
-
public final class DigitalTwinsDescriptionInner extends DigitalTwinsResource
The description of the DigitalTwins service.
-
-
Constructor Summary
Constructors Constructor Description DigitalTwinsDescriptionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
createdTime()
Get the createdTime property: Time when DigitalTwinsInstance was created.String
hostname()
Get the hostname property: Api endpoint to work with DigitalTwinsInstance.OffsetDateTime
lastUpdatedTime()
Get the lastUpdatedTime property: Time when DigitalTwinsInstance was updated.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.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 class com.azure.resourcemanager.digitaltwins.models.DigitalTwinsResource
identity, systemData
-
-
-
-
Method Detail
-
withIdentity
public DigitalTwinsDescriptionInner withIdentity(DigitalTwinsIdentity identity)
Set the identity property: The managed identity for the DigitalTwinsInstance.- Overrides:
withIdentity
in classDigitalTwinsResource
- Parameters:
identity
- the identity value to set.- Returns:
- the DigitalTwinsResource object itself.
-
withLocation
public DigitalTwinsDescriptionInner withLocation(String location)
- Overrides:
withLocation
in classDigitalTwinsResource
-
withTags
public DigitalTwinsDescriptionInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classDigitalTwinsResource
-
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Time when DigitalTwinsInstance was created.- Returns:
- the createdTime value.
-
lastUpdatedTime
public OffsetDateTime lastUpdatedTime()
Get the lastUpdatedTime property: Time when DigitalTwinsInstance was updated.- Returns:
- the lastUpdatedTime value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
hostname
public String hostname()
Get the hostname property: Api endpoint to work with DigitalTwinsInstance.- Returns:
- the hostname value.
-
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: The private endpoint connections.- Returns:
- the privateEndpointConnections value.
-
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.
-
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.- Returns:
- the publicNetworkAccess value.
-
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.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDigitalTwinsResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-