PrivateEndpointConnectionItem Class

  • java.lang.Object
    • com.azure.resourcemanager.keyvault.models.PrivateEndpointConnectionItem

Implements

public final class PrivateEndpointConnectionItem
implements JsonSerializable<PrivateEndpointConnectionItem>

Private endpoint connection item.

Constructor Summary

Constructor Description
PrivateEndpointConnectionItem()

Creates an instance of PrivateEndpointConnectionItem class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: Modified whenever there is a change in the state of private endpoint connection.

static PrivateEndpointConnectionItem fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionItem from the JsonReader.

String id()

Get the id property: Id of private endpoint connection.

PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: Properties of the private endpoint object.

PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Approval state of the private link connection.

PrivateEndpointConnectionProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the private endpoint connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpointConnectionItem withEtag(String etag)

Set the etag property: Modified whenever there is a change in the state of private endpoint connection.

PrivateEndpointConnectionItem withId(String id)

Set the id property: Id of private endpoint connection.

PrivateEndpointConnectionItem withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: Properties of the private endpoint object.

PrivateEndpointConnectionItem withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Approval state of the private link connection.

PrivateEndpointConnectionItem withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState)

Set the provisioningState property: Provisioning state of the private endpoint connection.

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointConnectionItem

public PrivateEndpointConnectionItem()

Creates an instance of PrivateEndpointConnectionItem class.

Method Details

etag

public String etag()

Get the etag property: Modified whenever there is a change in the state of private endpoint connection.

Returns:

the etag value.

fromJson

public static PrivateEndpointConnectionItem fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of private endpoint connection.

Returns:

the id value.

privateEndpoint

public PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: Properties of the private endpoint object.

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Approval state of the private link connection.

Returns:

the privateLinkServiceConnectionState value.

provisioningState

public PrivateEndpointConnectionProvisioningState provisioningState()

Get the provisioningState property: Provisioning 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.

withEtag

public PrivateEndpointConnectionItem withEtag(String etag)

Set the etag property: Modified whenever there is a change in the state of private endpoint connection.

Parameters:

etag - the etag value to set.

Returns:

the PrivateEndpointConnectionItem object itself.

withId

public PrivateEndpointConnectionItem withId(String id)

Set the id property: Id of private endpoint connection.

Parameters:

id - the id value to set.

Returns:

the PrivateEndpointConnectionItem object itself.

withPrivateEndpoint

public PrivateEndpointConnectionItem withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: Properties of the private endpoint object.

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the PrivateEndpointConnectionItem object itself.

withPrivateLinkServiceConnectionState

public PrivateEndpointConnectionItem withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Approval state of the private link connection.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the PrivateEndpointConnectionItem object itself.

withProvisioningState

public PrivateEndpointConnectionItem withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState)

Set the provisioningState property: Provisioning state of the private endpoint connection.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the PrivateEndpointConnectionItem object itself.

Applies to