Class PrivateLinkConnectionApprovalRequest

java.lang.Object
com.azure.resourcemanager.datafactory.models.PrivateLinkConnectionApprovalRequest

public final class PrivateLinkConnectionApprovalRequest extends Object
A request to approve or reject a private endpoint connection.
  • Constructor Details

    • PrivateLinkConnectionApprovalRequest

      public PrivateLinkConnectionApprovalRequest()
  • Method Details

    • privateLinkServiceConnectionState

      public PrivateLinkConnectionState privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: The state of a private link connection.
      Returns:
      the privateLinkServiceConnectionState value.
    • withPrivateLinkServiceConnectionState

      public PrivateLinkConnectionApprovalRequest withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState)
      Set the privateLinkServiceConnectionState property: The state of a private link connection.
      Parameters:
      privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
      Returns:
      the PrivateLinkConnectionApprovalRequest object itself.
    • privateEndpoint

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

      public PrivateLinkConnectionApprovalRequest withPrivateEndpoint(PrivateEndpoint privateEndpoint)
      Set the privateEndpoint property: The resource of private endpoint.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the PrivateLinkConnectionApprovalRequest object itself.
    • validate

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