Class DigitalTwinsProperties
java.lang.Object
com.azure.resourcemanager.digitaltwins.fluent.models.DigitalTwinsProperties
The properties of a DigitalTwinsInstance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createdTime property: Time when DigitalTwinsInstance was created.hostname()
Get the hostname property: Api endpoint to work with DigitalTwinsInstance.Get the lastUpdatedTime property: Time when DigitalTwinsInstance was updated.Get the privateEndpointConnections property: The private endpoint connections.Get the provisioningState property: The provisioning state.Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.void
validate()
Validates the instance.withPrivateEndpointConnections
(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: The private endpoint connections.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.
-
Constructor Details
-
DigitalTwinsProperties
public DigitalTwinsProperties()
-
-
Method Details
-
createdTime
Get the createdTime property: Time when DigitalTwinsInstance was created.- Returns:
- the createdTime value.
-
lastUpdatedTime
Get the lastUpdatedTime property: Time when DigitalTwinsInstance was updated.- Returns:
- the lastUpdatedTime value.
-
provisioningState
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
hostname
Get the hostname property: Api endpoint to work with DigitalTwinsInstance.- Returns:
- the hostname value.
-
privateEndpointConnections
Get the privateEndpointConnections property: The private endpoint connections.- Returns:
- the privateEndpointConnections value.
-
withPrivateEndpointConnections
public DigitalTwinsProperties withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: The private endpoint connections.- Parameters:
privateEndpointConnections
- the privateEndpointConnections value to set.- Returns:
- the DigitalTwinsProperties object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the DigitalTwinsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-