Partage via


ServerPrivateLinkServiceConnectionStateProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.postgresql.models.ServerPrivateLinkServiceConnectionStateProperty

Implements

public final class ServerPrivateLinkServiceConnectionStateProperty
implements JsonSerializable<ServerPrivateLinkServiceConnectionStateProperty>

The ServerPrivateLinkServiceConnectionStateProperty model.

Constructor Summary

Constructor Description
ServerPrivateLinkServiceConnectionStateProperty()

Creates an instance of ServerPrivateLinkServiceConnectionStateProperty class.

Method Summary

Modifier and Type Method and Description
PrivateLinkServiceConnectionStateActionsRequire actionsRequired()

Get the actionsRequired property: The actions required for private link service connection.

String description()

Get the description property: The private link service connection description.

static ServerPrivateLinkServiceConnectionStateProperty fromJson(JsonReader jsonReader)

Reads an instance of ServerPrivateLinkServiceConnectionStateProperty from the JsonReader.

PrivateLinkServiceConnectionStateStatus status()

Get the status property: The private link service connection status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServerPrivateLinkServiceConnectionStateProperty withDescription(String description)

Set the description property: The private link service connection description.

ServerPrivateLinkServiceConnectionStateProperty 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:

the actionsRequired value.

description

public String description()

Get the description property: The private link service connection description.

Returns:

the description value.

fromJson

public static ServerPrivateLinkServiceConnectionStateProperty fromJson(JsonReader jsonReader)

Reads an instance of ServerPrivateLinkServiceConnectionStateProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerPrivateLinkServiceConnectionStateProperty if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

status

public PrivateLinkServiceConnectionStateStatus status()

Get the status property: The private link service connection status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to