Class PrivateLinkServiceConnectionState
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.PrivateLinkServiceConnectionState
-
public final class PrivateLinkServiceConnectionState extends Object
The state of a private link service connection.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkServiceConnectionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionsRequiredactionsRequired()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 description for connection status.ConnectionStatusstatus()Get the status property: The private link service connection status.voidvalidate()Validates the instance.PrivateLinkServiceConnectionStatewithActionsRequired(ActionsRequired 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 description for connection status.PrivateLinkServiceConnectionStatewithStatus(ConnectionStatus status)Set the status property: The private link service connection status.
-
-
-
Method Detail
-
status
public ConnectionStatus status()
Get the status property: The private link service connection status.- Returns:
- the status value.
-
withStatus
public PrivateLinkServiceConnectionState withStatus(ConnectionStatus status)
Set the status property: The private link service connection status.- Parameters:
status- the status value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
description
public String description()
Get the description property: The description for connection status. For example if connection is rejected it can indicate reason for rejection.- Returns:
- the description value.
-
withDescription
public PrivateLinkServiceConnectionState withDescription(String description)
Set the description property: The description for connection status. For example if connection is rejected it can indicate reason for rejection.- Parameters:
description- the description value to set.- Returns:
- the PrivateLinkServiceConnectionState 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 PrivateLinkServiceConnectionState 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 PrivateLinkServiceConnectionState object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-