RemotePrivateEndpointConnection Class

public final class RemotePrivateEndpointConnection
extends ProxyOnlyResource

A remote private endpoint connection.

Constructor Summary

Constructor Description
RemotePrivateEndpointConnection()

Creates an instance of RemotePrivateEndpointConnection class.

Method Summary

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

Reads an instance of RemotePrivateEndpointConnection from the JsonReader.

String id()

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

List<String> ipAddresses()

Get the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.

String name()

Get the name property: The name of the resource.

ArmIdWrapper privateEndpoint()

Get the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.

PrivateLinkConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: The state of a private link connection.

String provisioningState()

Get the provisioningState property: The provisioningState property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RemotePrivateEndpointConnection withIpAddresses(List<String> ipAddresses)

Set the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.

RemotePrivateEndpointConnection withKind(String kind)

Set the kind property: Kind of resource.

RemotePrivateEndpointConnection withPrivateEndpoint(ArmIdWrapper privateEndpoint)

Set the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.

RemotePrivateEndpointConnection withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: The state of a private link connection.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

RemotePrivateEndpointConnection

public RemotePrivateEndpointConnection()

Creates an instance of RemotePrivateEndpointConnection class.

Method Details

fromJson

public static RemotePrivateEndpointConnection fromJson(JsonReader jsonReader)

Reads an instance of RemotePrivateEndpointConnection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RemotePrivateEndpointConnection 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:

RemotePrivateEndpointConnection.id()

Returns:

the id value.

ipAddresses

public List ipAddresses()

Get the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.

Returns:

the ipAddresses value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RemotePrivateEndpointConnection.name()

Returns:

the name value.

privateEndpoint

public ArmIdWrapper privateEndpoint()

Get the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public PrivateLinkConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: The state of a private link connection.

Returns:

the privateLinkServiceConnectionState value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioningState property.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RemotePrivateEndpointConnection.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RemotePrivateEndpointConnection.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

RemotePrivateEndpointConnection.validate()

withIpAddresses

public RemotePrivateEndpointConnection withIpAddresses(List ipAddresses)

Set the ipAddresses property: Private IPAddresses mapped to the remote private endpoint.

Parameters:

ipAddresses - the ipAddresses value to set.

Returns:

the RemotePrivateEndpointConnection object itself.

withKind

public RemotePrivateEndpointConnection withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

RemotePrivateEndpointConnection.withKind(String kind)

Parameters:

kind

withPrivateEndpoint

public RemotePrivateEndpointConnection withPrivateEndpoint(ArmIdWrapper privateEndpoint)

Set the privateEndpoint property: PrivateEndpoint of a remote private endpoint connection.

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the RemotePrivateEndpointConnection object itself.

withPrivateLinkServiceConnectionState

public RemotePrivateEndpointConnection withPrivateLinkServiceConnectionState(PrivateLinkConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: The state of a private link connection.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the RemotePrivateEndpointConnection object itself.

Applies to