Class PrivateLinkServiceConnectionState
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.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 Stringdescription()Get the description property: The private link service connection description.ConnectionStatusstatus()Get the status property: The private link service connection status.voidvalidate()Validates the instance.PrivateLinkServiceConnectionStatewithDescription(String description)Set the description property: The private link service connection description.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 private link service connection description.- Returns:
- the description value.
-
withDescription
public PrivateLinkServiceConnectionState withDescription(String description)
Set the description property: The private link service connection description.- Parameters:
description- the description value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-