Class MhsmPrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.keyvault.fluent.models.MhsmPrivateEndpointConnectionProperties
Properties of the private endpoint connection resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MhsmPrivateEndpointConnectionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.voidvalidate()Validates the instance.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.
-
Constructor Details
-
MhsmPrivateEndpointConnectionProperties
public MhsmPrivateEndpointConnectionProperties()Creates an instance of MhsmPrivateEndpointConnectionProperties class.
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: Properties of the private endpoint object.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
public MhsmPrivateEndpointConnectionProperties withPrivateEndpoint(MhsmPrivateEndpoint privateEndpoint) Set the privateEndpoint property: Properties of the private endpoint object.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the MhsmPrivateEndpointConnectionProperties object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: Approval state of the private link connection.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public MhsmPrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Approval state of the private link connection.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the MhsmPrivateEndpointConnectionProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the private endpoint connection.- Returns:
- the provisioningState value.
-
withProvisioningState
public MhsmPrivateEndpointConnectionProperties withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState) Set the provisioningState property: Provisioning state of the private endpoint connection.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the MhsmPrivateEndpointConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-