Class PrivateLinkServiceConnectionState
- java.lang.Object
-
- com.azure.resourcemanager.keyvault.models.PrivateLinkServiceConnectionState
-
public final class PrivateLinkServiceConnectionState extends Object
An object that represents the approval state of the private link connection.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkServiceConnectionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionsRequired()Get the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.Stringdescription()Get the description property: The reason for approval or rejection.PrivateEndpointServiceConnectionStatusstatus()Get the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner.voidvalidate()Validates the instance.PrivateLinkServiceConnectionStatewithActionsRequired(String actionsRequired)Set the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.PrivateLinkServiceConnectionStatewithDescription(String description)Set the description property: The reason for approval or rejection.PrivateLinkServiceConnectionStatewithStatus(PrivateEndpointServiceConnectionStatus status)Set the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner.
-
-
-
Method Detail
-
status
public PrivateEndpointServiceConnectionStatus 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
public PrivateLinkServiceConnectionState withStatus(PrivateEndpointServiceConnectionStatus status)
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 PrivateLinkServiceConnectionState object itself.
-
description
public String description()
Get the description property: The reason for approval or rejection.- Returns:
- the description value.
-
withDescription
public PrivateLinkServiceConnectionState withDescription(String description)
Set the description property: The reason for approval or rejection.- Parameters:
description- the description value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
actionsRequired
public String 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 PrivateLinkServiceConnectionState withActionsRequired(String 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 PrivateLinkServiceConnectionState object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-