Class PrivateEndpointConnectionProperties

java.lang.Object
com.azure.resourcemanager.iothub.models.PrivateEndpointConnectionProperties

public final class PrivateEndpointConnectionProperties extends Object
The properties of a private endpoint connection.
  • Constructor Details

    • PrivateEndpointConnectionProperties

      public PrivateEndpointConnectionProperties()
  • Method Details

    • privateEndpoint

      public PrivateEndpoint privateEndpoint()
      Get the privateEndpoint property: The private endpoint property of a private endpoint connection.
      Returns:
      the privateEndpoint value.
    • withPrivateEndpoint

      public PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpoint privateEndpoint)
      Set the privateEndpoint property: The private endpoint property of a private endpoint connection.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the PrivateEndpointConnectionProperties object itself.
    • privateLinkServiceConnectionState

      public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: The current state of a private endpoint connection.
      Returns:
      the privateLinkServiceConnectionState value.
    • withPrivateLinkServiceConnectionState

      public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
      Set the privateLinkServiceConnectionState property: The current state of a private endpoint connection.
      Parameters:
      privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
      Returns:
      the PrivateEndpointConnectionProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.