ManagedInstancePrivateEndpointConnectionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.ManagedInstancePrivateEndpointConnectionProperties

Implements

public final class ManagedInstancePrivateEndpointConnectionProperties
implements JsonSerializable<ManagedInstancePrivateEndpointConnectionProperties>

Properties of a private endpoint connection.

Constructor Summary

Constructor Description
ManagedInstancePrivateEndpointConnectionProperties()

Creates an instance of ManagedInstancePrivateEndpointConnectionProperties class.

Method Summary

Modifier and Type Method and Description
static ManagedInstancePrivateEndpointConnectionProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstancePrivateEndpointConnectionProperties from the JsonReader.

ManagedInstancePrivateEndpointProperty privateEndpoint()

Get the privateEndpoint property: Private endpoint which the connection belongs to.

ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.

String provisioningState()

Get the provisioningState property: State of the Private Endpoint Connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedInstancePrivateEndpointConnectionProperties withPrivateEndpoint(ManagedInstancePrivateEndpointProperty privateEndpoint)

Set the privateEndpoint property: Private endpoint which the connection belongs to.

ManagedInstancePrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.

Methods inherited from java.lang.Object

Constructor Details

ManagedInstancePrivateEndpointConnectionProperties

public ManagedInstancePrivateEndpointConnectionProperties()

Creates an instance of ManagedInstancePrivateEndpointConnectionProperties class.

Method Details

fromJson

public static ManagedInstancePrivateEndpointConnectionProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstancePrivateEndpointConnectionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privateEndpoint

public ManagedInstancePrivateEndpointProperty privateEndpoint()

Get the privateEndpoint property: Private endpoint which the connection belongs to.

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.

Returns:

the privateLinkServiceConnectionState value.

provisioningState

public String provisioningState()

Get the provisioningState property: State of the Private Endpoint Connection.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrivateEndpoint

public ManagedInstancePrivateEndpointConnectionProperties withPrivateEndpoint(ManagedInstancePrivateEndpointProperty privateEndpoint)

Set the privateEndpoint property: Private endpoint which the connection belongs to.

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the ManagedInstancePrivateEndpointConnectionProperties object itself.

withPrivateLinkServiceConnectionState

public ManagedInstancePrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Connection State of the Private Endpoint Connection.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the ManagedInstancePrivateEndpointConnectionProperties object itself.

Applies to