ManagedInstancePrivateEndpointConnectionInner Class

public final class ManagedInstancePrivateEndpointConnectionInner
extends ProxyResource

A private endpoint connection.

Constructor Summary

Constructor Description
ManagedInstancePrivateEndpointConnectionInner()

Creates an instance of ManagedInstancePrivateEndpointConnectionInner class.

Method Summary

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

Reads an instance of ManagedInstancePrivateEndpointConnectionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

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)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ManagedInstancePrivateEndpointConnectionInner withPrivateEndpoint(ManagedInstancePrivateEndpointProperty privateEndpoint)

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

ManagedInstancePrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)

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

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ManagedInstancePrivateEndpointConnectionInner

public ManagedInstancePrivateEndpointConnectionInner()

Creates an instance of ManagedInstancePrivateEndpointConnectionInner class.

Method Details

fromJson

public static ManagedInstancePrivateEndpointConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstancePrivateEndpointConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedInstancePrivateEndpointConnectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedInstancePrivateEndpointConnectionInner.name()

Returns:

the name value.

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)

Overrides:

ManagedInstancePrivateEndpointConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedInstancePrivateEndpointConnectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withPrivateEndpoint

public ManagedInstancePrivateEndpointConnectionInner withPrivateEndpoint(ManagedInstancePrivateEndpointProperty privateEndpoint)

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

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the ManagedInstancePrivateEndpointConnectionInner object itself.

withPrivateLinkServiceConnectionState

public ManagedInstancePrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState)

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

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the ManagedInstancePrivateEndpointConnectionInner object itself.

Applies to