PrivateLinkConnectionState Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.PrivateLinkConnectionState

Implements

public final class PrivateLinkConnectionState
implements JsonSerializable<PrivateLinkConnectionState>

The state of a private link connection.

Constructor Summary

Constructor Description
PrivateLinkConnectionState()

Creates an instance of PrivateLinkConnectionState class.

Method Summary

Modifier and Type Method and Description
String actionsRequired()

Get the actionsRequired property: ActionsRequired for a private link connection.

String description()

Get the description property: Description of a private link connection.

static PrivateLinkConnectionState fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkConnectionState from the JsonReader.

String status()

Get the status property: Status of a private link connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateLinkConnectionState withActionsRequired(String actionsRequired)

Set the actionsRequired property: ActionsRequired for a private link connection.

PrivateLinkConnectionState withDescription(String description)

Set the description property: Description of a private link connection.

PrivateLinkConnectionState withStatus(String status)

Set the status property: Status of a private link connection.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkConnectionState

public PrivateLinkConnectionState()

Creates an instance of PrivateLinkConnectionState class.

Method Details

actionsRequired

public String actionsRequired()

Get the actionsRequired property: ActionsRequired for a private link connection.

Returns:

the actionsRequired value.

description

public String description()

Get the description property: Description of a private link connection.

Returns:

the description value.

fromJson

public static PrivateLinkConnectionState fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkConnectionState from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateLinkConnectionState 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 PrivateLinkConnectionState.

status

public String status()

Get the status property: Status of a private link connection.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActionsRequired

public PrivateLinkConnectionState withActionsRequired(String actionsRequired)

Set the actionsRequired property: ActionsRequired for a private link connection.

Parameters:

actionsRequired - the actionsRequired value to set.

Returns:

the PrivateLinkConnectionState object itself.

withDescription

public PrivateLinkConnectionState withDescription(String description)

Set the description property: Description of a private link connection.

Parameters:

description - the description value to set.

Returns:

the PrivateLinkConnectionState object itself.

withStatus

public PrivateLinkConnectionState withStatus(String status)

Set the status property: Status of a private link connection.

Parameters:

status - the status value to set.

Returns:

the PrivateLinkConnectionState object itself.

Applies to