Class ServerPrivateLinkServiceConnectionStateProperty
- java.lang.Object
-
- com.azure.resourcemanager.mysql.models.ServerPrivateLinkServiceConnectionStateProperty
-
public final class ServerPrivateLinkServiceConnectionStateProperty extends Object
The ServerPrivateLinkServiceConnectionStateProperty model.
-
-
Constructor Summary
Constructors Constructor Description ServerPrivateLinkServiceConnectionStateProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateLinkServiceConnectionStateActionsRequireactionsRequired()Get the actionsRequired property: The actions required for private link service connection.Stringdescription()Get the description property: The private link service connection description.PrivateLinkServiceConnectionStateStatusstatus()Get the status property: The private link service connection status.voidvalidate()Validates the instance.ServerPrivateLinkServiceConnectionStatePropertywithDescription(String description)Set the description property: The private link service connection description.ServerPrivateLinkServiceConnectionStatePropertywithStatus(PrivateLinkServiceConnectionStateStatus status)Set the status property: The private link service connection status.
-
-
-
Method Detail
-
status
public PrivateLinkServiceConnectionStateStatus status()
Get the status property: The private link service connection status.- Returns:
- the status value.
-
withStatus
public ServerPrivateLinkServiceConnectionStateProperty withStatus(PrivateLinkServiceConnectionStateStatus status)
Set the status property: The private link service connection status.- Parameters:
status- the status value to set.- Returns:
- the ServerPrivateLinkServiceConnectionStateProperty object itself.
-
description
public String description()
Get the description property: The private link service connection description.- Returns:
- the description value.
-
withDescription
public ServerPrivateLinkServiceConnectionStateProperty withDescription(String description)
Set the description property: The private link service connection description.- Parameters:
description- the description value to set.- Returns:
- the ServerPrivateLinkServiceConnectionStateProperty object itself.
-
actionsRequired
public PrivateLinkServiceConnectionStateActionsRequire actionsRequired()
Get the actionsRequired property: The actions required for private link service connection.- Returns:
- the actionsRequired value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-