Class DigitalTwinsProperties


  • public final class DigitalTwinsProperties
    extends Object
    The properties of a DigitalTwinsInstance.
    • Constructor Detail

      • DigitalTwinsProperties

        public DigitalTwinsProperties()
    • 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.