Class MhsmPrivateEndpointConnectionItem
java.lang.Object
com.azure.resourcemanager.keyvault.models.MhsmPrivateEndpointConnectionItem
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MhsmPrivateEndpointConnectionItem>
public final class MhsmPrivateEndpointConnectionItem
extends Object
implements com.azure.json.JsonSerializable<MhsmPrivateEndpointConnectionItem>
Private endpoint connection item.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MhsmPrivateEndpointConnectionItem class. -
Method Summary
Modifier and TypeMethodDescriptionetag()Get the etag property: Modified whenever there is a change in the state of private endpoint connection.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MhsmPrivateEndpointConnectionItem from the JsonReader.id()Get the id property: Id of private endpoint connection.Get the privateEndpoint property: Properties of the private endpoint object.Get the privateLinkServiceConnectionState property: Approval state of the private link connection.Get the provisioningState property: Provisioning state of the private endpoint connection.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the etag property: Modified whenever there is a change in the state of private endpoint connection.Set the id property: Id of private endpoint connection.withPrivateEndpoint(MhsmPrivateEndpoint privateEndpoint) Set the privateEndpoint property: Properties of the private endpoint object.withPrivateLinkServiceConnectionState(MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Approval state of the private link connection.withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState) Set the provisioningState property: Provisioning state of the private endpoint connection.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
MhsmPrivateEndpointConnectionItem
public MhsmPrivateEndpointConnectionItem()Creates an instance of MhsmPrivateEndpointConnectionItem class.
-
-
Method Details
-
id
Get the id property: Id of private endpoint connection.- Returns:
- the id value.
-
withId
Set the id property: Id of private endpoint connection.- Parameters:
id- the id value to set.- Returns:
- the MhsmPrivateEndpointConnectionItem object itself.
-
etag
Get the etag property: Modified whenever there is a change in the state of private endpoint connection.- Returns:
- the etag value.
-
withEtag
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.
-
privateEndpoint
Get the privateEndpoint property: Properties of the private endpoint object.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: Properties of the private endpoint object.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the MhsmPrivateEndpointConnectionItem object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: Approval state of the private link connection.- Returns:
- the privateLinkServiceConnectionState value.
-
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.
-
provisioningState
Get the provisioningState property: Provisioning state of the private endpoint connection.- Returns:
- the provisioningState value.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<MhsmPrivateEndpointConnectionItem>- Throws:
IOException
-
fromJson
public static MhsmPrivateEndpointConnectionItem fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-