Class MhsmPrivateLinkServiceConnectionState

java.lang.Object
com.azure.resourcemanager.keyvault.models.MhsmPrivateLinkServiceConnectionState

public final class MhsmPrivateLinkServiceConnectionState extends Object
An object that represents the approval state of the private link connection.
  • Constructor Details

    • MhsmPrivateLinkServiceConnectionState

      public MhsmPrivateLinkServiceConnectionState()
  • Method Details

    • status

      Get the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner.
      Returns:
      the status value.
    • withStatus

      Set the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner.
      Parameters:
      status - the status value to set.
      Returns:
      the MhsmPrivateLinkServiceConnectionState object itself.
    • description

      public String description()
      Get the description property: The reason for approval or rejection.
      Returns:
      the description value.
    • withDescription

      public MhsmPrivateLinkServiceConnectionState withDescription(String description)
      Set the description property: The reason for approval or rejection.
      Parameters:
      description - the description value to set.
      Returns:
      the MhsmPrivateLinkServiceConnectionState object itself.
    • actionsRequired

      public ActionsRequired actionsRequired()
      Get the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.
      Returns:
      the actionsRequired value.
    • withActionsRequired

      public MhsmPrivateLinkServiceConnectionState withActionsRequired(ActionsRequired actionsRequired)
      Set the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.
      Parameters:
      actionsRequired - the actionsRequired value to set.
      Returns:
      the MhsmPrivateLinkServiceConnectionState object itself.
    • validate

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