Class DigitalTwinsProperties
- java.lang.Object
-
- com.azure.resourcemanager.digitaltwins.fluent.models.DigitalTwinsProperties
-
public final class DigitalTwinsProperties extends Object
The properties of a DigitalTwinsInstance.
-
-
Constructor Summary
Constructors Constructor Description DigitalTwinsProperties()
-
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.DigitalTwinsProperties
withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)
Set the privateEndpointConnections property: The private endpoint connections.DigitalTwinsProperties
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.
-
-
-
Method Detail
-
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 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
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public DigitalTwinsProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
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.
-
-