Class ServerPrivateEndpointConnectionProperties

java.lang.Object
com.azure.resourcemanager.mariadb.models.ServerPrivateEndpointConnectionProperties

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

    • ServerPrivateEndpointConnectionProperties

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

    • privateEndpoint

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

      public ServerPrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointProperty privateEndpoint)
      Set the privateEndpoint property: Private endpoint which the connection belongs to.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the ServerPrivateEndpointConnectionProperties object itself.
    • privateLinkServiceConnectionState

      public ServerPrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
      Returns:
      the privateLinkServiceConnectionState value.
    • withPrivateLinkServiceConnectionState

      public ServerPrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(ServerPrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)
      Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.
      Parameters:
      privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
      Returns:
      the ServerPrivateEndpointConnectionProperties object itself.
    • provisioningState

      public PrivateEndpointProvisioningState 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.