PrivateLinkServiceConnectionStateProperty Class

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

Implements

public final class PrivateLinkServiceConnectionStateProperty
implements JsonSerializable<PrivateLinkServiceConnectionStateProperty>

The PrivateLinkServiceConnectionStateProperty model.

Constructor Summary

Constructor Description
PrivateLinkServiceConnectionStateProperty()

Creates an instance of PrivateLinkServiceConnectionStateProperty 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 PrivateLinkServiceConnectionStateProperty fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServiceConnectionStateProperty from the JsonReader.

PrivateLinkServiceConnectionStateStatus 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(PrivateLinkServiceConnectionStateStatus 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 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 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 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 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(PrivateLinkServiceConnectionStateStatus 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