PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState Class

  • java.lang.Object
    • com.azure.resourcemanager.search.models.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState

Implements

public final class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
implements JsonSerializable<PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState>

Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.

Constructor Summary

Constructor Description
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState()

Creates an instance of PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState class.

Method Summary

Modifier and Type Method and Description
String actionsRequired()

Get the actionsRequired property: A description of any extra actions that may be required.

String description()

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

static PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState from the JsonReader.

PrivateLinkServiceConnectionStatus status()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withActionsRequired(String actionsRequired)

Set the actionsRequired property: A description of any extra actions that may be required.

PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withDescription(String description)

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

PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withStatus(PrivateLinkServiceConnectionStatus status)

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

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState

public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState()

Creates an instance of PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState class.

Method Details

actionsRequired

public String actionsRequired()

Get the actionsRequired property: A description of any extra actions that may be required.

Returns:

the actionsRequired value.

description

public String description()

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

Returns:

the description value.

fromJson

public static PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public PrivateLinkServiceConnectionStatus status()

Get the status property: Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActionsRequired

public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withActionsRequired(String actionsRequired)

Set the actionsRequired property: A description of any extra actions that may be required.

Parameters:

actionsRequired - the actionsRequired value to set.

Returns:

the PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState object itself.

withDescription

public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withDescription(String description)

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

Parameters:

description - the description value to set.

Returns:

the PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState object itself.

withStatus

public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withStatus(PrivateLinkServiceConnectionStatus status)

Set the status property: Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected.

Parameters:

status - the status value to set.

Returns:

the PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState object itself.

Applies to