ServerPrivateLinkServiceConnectionStateProperty Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. models. ServerPrivateLinkServiceConnectionStateProperty
- com.
Implements
public final class ServerPrivateLinkServiceConnectionStateProperty
implements JsonSerializable<ServerPrivateLinkServiceConnectionStateProperty>
The ServerPrivateLinkServiceConnectionStateProperty model.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerPrivateLinkServiceConnectionStateProperty() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Private |
actionsRequired()
Get the actions |
| String |
description()
Get the description property: The private link service connection description. |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
|
Private |
status()
Get the status property: The private link service connection status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Server |
withDescription(String description)
Set the description property: The private link service connection description. |
|
Server |
withStatus(PrivateLinkServiceConnectionStateStatus status)
Set the status property: The private link service connection status. |
Methods inherited from java.lang.Object
Constructor Details
ServerPrivateLinkServiceConnectionStateProperty
public ServerPrivateLinkServiceConnectionStateProperty()
Creates an instance of ServerPrivateLinkServiceConnectionStateProperty class.
Method Details
actionsRequired
public PrivateLinkServiceConnectionStateActionsRequire actionsRequired()
Get the actionsRequired property: The actions required for private link service connection.
Returns:
description
public String description()
Get the description property: The private link service connection description.
Returns:
fromJson
public static ServerPrivateLinkServiceConnectionStateProperty fromJson(JsonReader jsonReader)
Reads an instance of ServerPrivateLinkServiceConnectionStateProperty from the JsonReader.
Parameters:
Returns:
Throws:
status
public PrivateLinkServiceConnectionStateStatus status()
Get the status property: The private link service connection status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public ServerPrivateLinkServiceConnectionStateProperty withDescription(String description)
Set the description property: The private link service connection description.
Parameters:
Returns:
withStatus
public ServerPrivateLinkServiceConnectionStateProperty withStatus(PrivateLinkServiceConnectionStateStatus status)
Set the status property: The private link service connection status.
Parameters:
Returns: