Class ManagedInstancePrivateEndpointConnectionProperties

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ManagedInstancePrivateEndpointConnectionProperties

public final class ManagedInstancePrivateEndpointConnectionProperties extends Object
Properties of a private endpoint connection.
  • Constructor Details

    • ManagedInstancePrivateEndpointConnectionProperties

      public ManagedInstancePrivateEndpointConnectionProperties()
      Creates an instance of ManagedInstancePrivateEndpointConnectionProperties class.
  • Method Details

    • privateEndpoint

      public ManagedInstancePrivateEndpointProperty privateEndpoint()
      Get the privateEndpoint property: Private endpoint which the connection belongs to.
      Returns:
      the privateEndpoint value.
    • withPrivateEndpoint

      Set the privateEndpoint property: Private endpoint which the connection belongs to.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the ManagedInstancePrivateEndpointConnectionProperties object itself.
    • privateLinkServiceConnectionState

      public ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.
      Returns:
      the privateLinkServiceConnectionState value.
    • withPrivateLinkServiceConnectionState

      public ManagedInstancePrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)
      Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.
      Parameters:
      privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
      Returns:
      the ManagedInstancePrivateEndpointConnectionProperties object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: State of the Private Endpoint Connection.
      Returns:
      the provisioningState value.
    • validate

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