MhsmPrivateEndpointConnectionInner Class

public final class MhsmPrivateEndpointConnectionInner
extends ManagedHsmResource

Private endpoint connection resource.

Constructor Summary

Constructor Description
MhsmPrivateEndpointConnectionInner()

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

Reads an instance of MhsmPrivateEndpointConnectionInner 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.

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.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the key vault resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

MhsmPrivateEndpointConnectionInner withEtag(String etag)

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

MhsmPrivateEndpointConnectionInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

MhsmPrivateEndpointConnectionInner withLocation(String location)
MhsmPrivateEndpointConnectionInner withPrivateEndpoint(MhsmPrivateEndpoint privateEndpoint)

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

MhsmPrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

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

MhsmPrivateEndpointConnectionInner withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState)

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

MhsmPrivateEndpointConnectionInner withSku(ManagedHsmSku sku)

Set the sku property: SKU details.

MhsmPrivateEndpointConnectionInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ManagedHsmResource

Methods inherited from java.lang.Object

Constructor Details

MhsmPrivateEndpointConnectionInner

public MhsmPrivateEndpointConnectionInner()

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

Reads an instance of MhsmPrivateEndpointConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

MhsmPrivateEndpointConnectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MhsmPrivateEndpointConnectionInner.name()

Returns:

the name 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.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the key vault resource.

Overrides:

MhsmPrivateEndpointConnectionInner.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MhsmPrivateEndpointConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MhsmPrivateEndpointConnectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

MhsmPrivateEndpointConnectionInner.validate()

withEtag

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

withIdentity

public MhsmPrivateEndpointConnectionInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

Overrides:

MhsmPrivateEndpointConnectionInner.withIdentity(ManagedServiceIdentity identity)

Parameters:

identity

withLocation

public MhsmPrivateEndpointConnectionInner withLocation(String location)

Overrides:

MhsmPrivateEndpointConnectionInner.withLocation(String location)

Parameters:

location

withPrivateEndpoint

public MhsmPrivateEndpointConnectionInner withPrivateEndpoint(MhsmPrivateEndpoint privateEndpoint)

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

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the MhsmPrivateEndpointConnectionInner object itself.

withPrivateLinkServiceConnectionState

public MhsmPrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

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

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the MhsmPrivateEndpointConnectionInner object itself.

withProvisioningState

public MhsmPrivateEndpointConnectionInner withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState)

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

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the MhsmPrivateEndpointConnectionInner object itself.

withSku

public MhsmPrivateEndpointConnectionInner withSku(ManagedHsmSku sku)

Set the sku property: SKU details.

Overrides:

MhsmPrivateEndpointConnectionInner.withSku(ManagedHsmSku sku)

Parameters:

sku

withTags

public MhsmPrivateEndpointConnectionInner withTags(Map tags)

Overrides:

MhsmPrivateEndpointConnectionInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to