MhsmPrivateLinkServiceConnectionState Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. MhsmPrivateLinkServiceConnectionState
- com.
Implements
public final class MhsmPrivateLinkServiceConnectionState
implements JsonSerializable<MhsmPrivateLinkServiceConnectionState>
An object that represents the approval state of the private link connection.
Constructor Summary
Constructor | Description |
---|---|
MhsmPrivateLinkServiceConnectionState() |
Creates an instance of Mhsm |
Method Summary
Modifier and Type | Method and Description |
---|---|
Actions |
actionsRequired()
Get the actions |
String |
description()
Get the description property: The reason for approval or rejection. |
static
Mhsm |
fromJson(JsonReader jsonReader)
Reads an instance of Mhsm |
Private |
status()
Get the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Mhsm |
withActionsRequired(ActionsRequired actionsRequired)
Set the actions |
Mhsm |
withDescription(String description)
Set the description property: The reason for approval or rejection. |
Mhsm |
withStatus(PrivateEndpointServiceConnectionStatus status)
Set the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner. |
Methods inherited from java.lang.Object
Constructor Details
MhsmPrivateLinkServiceConnectionState
public MhsmPrivateLinkServiceConnectionState()
Creates an instance of MhsmPrivateLinkServiceConnectionState class.
Method Details
actionsRequired
public ActionsRequired actionsRequired()
Get the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.
Returns:
description
public String description()
Get the description property: The reason for approval or rejection.
Returns:
fromJson
public static MhsmPrivateLinkServiceConnectionState fromJson(JsonReader jsonReader)
Reads an instance of MhsmPrivateLinkServiceConnectionState from the JsonReader.
Parameters:
Returns:
Throws:
status
public PrivateEndpointServiceConnectionStatus status()
Get the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActionsRequired
public MhsmPrivateLinkServiceConnectionState withActionsRequired(ActionsRequired actionsRequired)
Set the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.
Parameters:
Returns:
withDescription
public MhsmPrivateLinkServiceConnectionState withDescription(String description)
Set the description property: The reason for approval or rejection.
Parameters:
Returns:
withStatus
public MhsmPrivateLinkServiceConnectionState withStatus(PrivateEndpointServiceConnectionStatus status)
Set the status property: Indicates whether the connection has been approved, rejected or removed by the key vault owner.
Parameters:
Returns:
Applies to
Azure SDK for Java