Class PrivateEndpointConnection

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.PrivateEndpointConnection

public final class PrivateEndpointConnection extends Object
Private Endpoint Connection Response Properties.
  • Constructor Details

    • PrivateEndpointConnection

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Gets or sets provisioning state of the private endpoint connection.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public PrivateEndpointConnection withProvisioningState(ProvisioningState provisioningState)
      Set the provisioningState property: Gets or sets provisioning state of the private endpoint connection.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the PrivateEndpointConnection object itself.
    • privateEndpoint

      public PrivateEndpoint privateEndpoint()
      Get the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.
      Returns:
      the privateEndpoint value.
    • withPrivateEndpoint

      public PrivateEndpointConnection withPrivateEndpoint(PrivateEndpoint privateEndpoint)
      Set the privateEndpoint property: Gets or sets private endpoint associated with the private endpoint connection.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the PrivateEndpointConnection object itself.
    • privateLinkServiceConnectionState

      public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: Gets or sets private link service connection state.
      Returns:
      the privateLinkServiceConnectionState value.
    • withPrivateLinkServiceConnectionState

      public PrivateEndpointConnection withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)
      Set the privateLinkServiceConnectionState property: Gets or sets private link service connection state.
      Parameters:
      privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
      Returns:
      the PrivateEndpointConnection object itself.
    • validate

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