MhsmPrivateEndpointConnectionItem Class

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

Implements

public final class MhsmPrivateEndpointConnectionItem
implements JsonSerializable<MhsmPrivateEndpointConnectionItem>

Private endpoint connection item.

Constructor Summary

Constructor Description
MhsmPrivateEndpointConnectionItem()

Creates an instance of MhsmPrivateEndpointConnectionItem 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 MhsmPrivateEndpointConnectionItem fromJson(JsonReader jsonReader)

Reads an instance of MhsmPrivateEndpointConnectionItem from the JsonReader.

String id()

Get the id property: Id of private endpoint connection.

MhsmPrivateEndpoint privateEndpoint()

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

MhsmPrivateLinkServiceConnectionState 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.

MhsmPrivateEndpointConnectionItem withEtag(String etag)

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

MhsmPrivateEndpointConnectionItem withId(String id)

Set the id property: Id of private endpoint connection.

MhsmPrivateEndpointConnectionItem withPrivateEndpoint(MhsmPrivateEndpoint privateEndpoint)

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

MhsmPrivateEndpointConnectionItem withPrivateLinkServiceConnectionState(MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

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

MhsmPrivateEndpointConnectionItem withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState)

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

Methods inherited from java.lang.Object

Constructor Details

MhsmPrivateEndpointConnectionItem

public MhsmPrivateEndpointConnectionItem()

Creates an instance of MhsmPrivateEndpointConnectionItem 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 MhsmPrivateEndpointConnectionItem fromJson(JsonReader jsonReader)

Reads an instance of MhsmPrivateEndpointConnectionItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of private endpoint connection.

Returns:

the id value.

privateEndpoint

public MhsmPrivateEndpoint privateEndpoint()

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

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public MhsmPrivateLinkServiceConnectionState 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 MhsmPrivateEndpointConnectionItem 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 MhsmPrivateEndpointConnectionItem object itself.

withId

public MhsmPrivateEndpointConnectionItem withId(String id)

Set the id property: Id of private endpoint connection.

Parameters:

id - the id value to set.

Returns:

the MhsmPrivateEndpointConnectionItem object itself.

withPrivateEndpoint

public MhsmPrivateEndpointConnectionItem withPrivateEndpoint(MhsmPrivateEndpoint privateEndpoint)

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

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the MhsmPrivateEndpointConnectionItem object itself.

withPrivateLinkServiceConnectionState

public MhsmPrivateEndpointConnectionItem withPrivateLinkServiceConnectionState(MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

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

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the MhsmPrivateEndpointConnectionItem object itself.

withProvisioningState

public MhsmPrivateEndpointConnectionItem withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState)

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

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the MhsmPrivateEndpointConnectionItem object itself.

Applies to