Class PrivateLinkServiceConnectionState
java.lang.Object
com.azure.resourcemanager.mediaservices.models.PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PrivateLinkServiceConnectionState class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.Get the description property: The reason for approval/rejection of the connection.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.withActionsRequired
(String actionsRequired) Set the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.withDescription
(String description) Set the description property: The reason for approval/rejection of the connection.Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-
Constructor Details
-
PrivateLinkServiceConnectionState
public PrivateLinkServiceConnectionState()Creates an instance of PrivateLinkServiceConnectionState class.
-
-
Method Details
-
status
Get the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.- Returns:
- the status value.
-
withStatus
Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.- Parameters:
status
- the status value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
description
Get the description property: The reason for approval/rejection of the connection.- Returns:
- the description value.
-
withDescription
Set the description property: The reason for approval/rejection of the connection.- Parameters:
description
- the description value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
actionsRequired
Get the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.- Returns:
- the actionsRequired value.
-
withActionsRequired
Set the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.- Parameters:
actionsRequired
- the actionsRequired value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-