Partager via


PrivateLinkServiceConnectionStateProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.PrivateLinkServiceConnectionStateProperty

Implements

public final class PrivateLinkServiceConnectionStateProperty
implements JsonSerializable<PrivateLinkServiceConnectionStateProperty>

Connection State of the Private Endpoint Connection.

Constructor Summary

Constructor Description
PrivateLinkServiceConnectionStateProperty()

Creates an instance of PrivateLinkServiceConnectionStateProperty class.

Method Summary

Modifier and Type Method and Description
String actionsRequired()

Get the actionsRequired property: Any action that is required beyond basic workflow (approve/ reject/ disconnect).

String description()

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

static PrivateLinkServiceConnectionStateProperty fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceConnectionStateProperty from the JsonReader.

String status()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateLinkServiceConnectionStateProperty withDescription(String description)

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

PrivateLinkServiceConnectionStateProperty withStatus(String status)

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

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkServiceConnectionStateProperty

public PrivateLinkServiceConnectionStateProperty()

Creates an instance of PrivateLinkServiceConnectionStateProperty class.

Method Details

actionsRequired

public String actionsRequired()

Get the actionsRequired property: Any action that is required beyond basic workflow (approve/ reject/ disconnect).

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 PrivateLinkServiceConnectionStateProperty fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceConnectionStateProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the PrivateLinkServiceConnectionStateProperty.

status

public String 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 PrivateLinkServiceConnectionStateProperty withDescription(String description)

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

Parameters:

description - the description value to set.

Returns:

the PrivateLinkServiceConnectionStateProperty object itself.

withStatus

public PrivateLinkServiceConnectionStateProperty withStatus(String status)

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

Parameters:

status - the status value to set.

Returns:

the PrivateLinkServiceConnectionStateProperty object itself.

Applies to