Partilhar via


PrivateEndpointConnectionInner Class

public final class PrivateEndpointConnectionInner
extends SubResource

PrivateEndpointConnection resource.

Constructor Summary

Constructor Description
PrivateEndpointConnectionInner()

Creates an instance of PrivateEndpointConnectionInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static PrivateEndpointConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionInner from the JsonReader.

String linkIdentifier()

Get the linkIdentifier property: The consumer link id.

String name()

Get the name property: The name of the resource that is unique within a resource group.

PrivateEndpointInner privateEndpoint()

Get the privateEndpoint property: The resource of private end point.

String privateEndpointLocation()

Get the privateEndpointLocation property: The location of the private endpoint.

PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private endpoint connection resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

PrivateEndpointConnectionInner withId(String id)
PrivateEndpointConnectionInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointConnectionInner

public PrivateEndpointConnectionInner()

Creates an instance of PrivateEndpointConnectionInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static PrivateEndpointConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

linkIdentifier

public String linkIdentifier()

Get the linkIdentifier property: The consumer link id.

Returns:

the linkIdentifier value.

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

privateEndpoint

public PrivateEndpointInner privateEndpoint()

Get the privateEndpoint property: The resource of private end point.

Returns:

the privateEndpoint value.

privateEndpointLocation

public String privateEndpointLocation()

Get the privateEndpointLocation property: The location of the private endpoint.

Returns:

the privateEndpointLocation value.

privateLinkServiceConnectionState

public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

Returns:

the privateLinkServiceConnectionState value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private endpoint connection resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateEndpointConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public PrivateEndpointConnectionInner withId(String id)

Overrides:

PrivateEndpointConnectionInner.withId(String id)

Parameters:

id

withName

public PrivateEndpointConnectionInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the PrivateEndpointConnectionInner object itself.

withPrivateLinkServiceConnectionState

public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the PrivateEndpointConnectionInner object itself.

Applies to