ManagedInstancePrivateLinkServiceConnectionStateProperty Class

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

Implements

public final class ManagedInstancePrivateLinkServiceConnectionStateProperty
implements JsonSerializable<ManagedInstancePrivateLinkServiceConnectionStateProperty>

The ManagedInstancePrivateLinkServiceConnectionStateProperty model.

Constructor Summary

Constructor Description
ManagedInstancePrivateLinkServiceConnectionStateProperty()

Creates an instance of ManagedInstancePrivateLinkServiceConnectionStateProperty class.

Method Summary

Modifier and Type Method and Description
String actionsRequired()

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

String description()

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

static ManagedInstancePrivateLinkServiceConnectionStateProperty fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstancePrivateLinkServiceConnectionStateProperty from the JsonReader.

String status()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedInstancePrivateLinkServiceConnectionStateProperty withDescription(String description)

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

ManagedInstancePrivateLinkServiceConnectionStateProperty withStatus(String status)

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

Methods inherited from java.lang.Object

Constructor Details

ManagedInstancePrivateLinkServiceConnectionStateProperty

public ManagedInstancePrivateLinkServiceConnectionStateProperty()

Creates an instance of ManagedInstancePrivateLinkServiceConnectionStateProperty class.

Method Details

actionsRequired

public String actionsRequired()

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

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

Reads an instance of ManagedInstancePrivateLinkServiceConnectionStateProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedInstancePrivateLinkServiceConnectionStateProperty 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 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 ManagedInstancePrivateLinkServiceConnectionStateProperty withDescription(String description)

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

Parameters:

description - the description value to set.

Returns:

the ManagedInstancePrivateLinkServiceConnectionStateProperty object itself.

withStatus

public ManagedInstancePrivateLinkServiceConnectionStateProperty withStatus(String status)

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

Parameters:

status - the status value to set.

Returns:

the ManagedInstancePrivateLinkServiceConnectionStateProperty object itself.

Applies to