PrivateLinkServiceConnectionState Class
- java.
lang. Object - com.
azure. resourcemanager. cosmosdbforpostgresql. models. PrivateLinkServiceConnectionState
- com.
public final class PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
Constructor Summary
| Constructor | Description |
|---|---|
| PrivateLinkServiceConnectionState() |
Creates an instance of Private |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
actionsRequired()
Get the actions |
| String |
description()
Get the description property: The reason for approval/rejection of the connection. |
|
Private |
status()
Get the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. |
| void |
validate()
Validates the instance. |
|
Private |
withActionsRequired(String actionsRequired)
Set the actions |
|
Private |
withDescription(String description)
Set the description property: The reason for approval/rejection of the connection. |
|
Private |
withStatus(PrivateEndpointServiceConnectionStatus status)
Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. |
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkServiceConnectionState
public PrivateLinkServiceConnectionState()
Creates an instance of PrivateLinkServiceConnectionState class.
Method Details
actionsRequired
public String 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/rejection of the connection.
Returns:
status
public PrivateEndpointServiceConnectionStatus status()
Get the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
Returns:
validate
public void validate()
Validates the instance.
withActionsRequired
public PrivateLinkServiceConnectionState withActionsRequired(String actionsRequired)
Set the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.
Parameters:
Returns:
withDescription
public PrivateLinkServiceConnectionState withDescription(String description)
Set the description property: The reason for approval/rejection of the connection.
Parameters:
Returns:
withStatus
public PrivateLinkServiceConnectionState withStatus(PrivateEndpointServiceConnectionStatus status)
Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
Parameters:
Returns: