Class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
java.lang.Object
com.azure.resourcemanager.search.models.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
public final class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
extends Object
Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the actionsRequired property: A description of any extra actions that may be required.Get the description property: The description for the private link service connection state.status()Get the status property: Status of the the private link service connection.voidvalidate()Validates the instance.withActionsRequired(String actionsRequired) Set the actionsRequired property: A description of any extra actions that may be required.withDescription(String description) Set the description property: The description for the private link service connection state.Set the status property: Status of the the private link service connection.
-
Constructor Details
-
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState()
-
-
Method Details
-
status
Get the status property: Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected.- Returns:
- the status value.
-
withStatus
public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withStatus(PrivateLinkServiceConnectionStatus status) Set the status property: Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected.- Parameters:
status- the status value to set.- Returns:
- the PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState object itself.
-
description
Get the description property: The description for the private link service connection state.- Returns:
- the description value.
-
withDescription
public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withDescription(String description) Set the description property: The description for the private link service connection state.- Parameters:
description- the description value to set.- Returns:
- the PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState object itself.
-
actionsRequired
Get the actionsRequired property: A description of any extra actions that may be required.- Returns:
- the actionsRequired value.
-
withActionsRequired
public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState withActionsRequired(String actionsRequired) Set the actionsRequired property: A description of any extra actions that may be required.- Parameters:
actionsRequired- the actionsRequired value to set.- Returns:
- the PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-