Class PrivateLinkServiceConnectionState
java.lang.Object
com.microsoft.azure.management.storage.PrivateLinkServiceConnectionState
A collection of information about the state of the connection between
service consumer and provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a message indicating if changes on the service provider require any updates on the consumer.Get the reason for approval/rejection of the connection.status()
Get indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.withActionRequired
(String actionRequired) Set a message indicating if changes on the service provider require any updates on the consumer.withDescription
(String description) Set the reason for approval/rejection of the connection.Set indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-
Constructor Details
-
PrivateLinkServiceConnectionState
public PrivateLinkServiceConnectionState()
-
-
Method Details
-
status
Get indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'Pending', 'Approved', 'Rejected'.- Returns:
- the status value
-
withStatus
Set indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'Pending', 'Approved', 'Rejected'.- Parameters:
status
- the status value to set- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
description
Get the reason for approval/rejection of the connection.- Returns:
- the description value
-
withDescription
Set the reason for approval/rejection of the connection.- Parameters:
description
- the description value to set- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
actionRequired
Get a message indicating if changes on the service provider require any updates on the consumer.- Returns:
- the actionRequired value
-
withActionRequired
Set a message indicating if changes on the service provider require any updates on the consumer.- Parameters:
actionRequired
- the actionRequired value to set- Returns:
- the PrivateLinkServiceConnectionState object itself.
-