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 Constructor Description PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionsRequired()Get the actionsRequired property: A description of any extra actions that may be required.Stringdescription()Get the description property: The description for the private link service connection state.PrivateLinkServiceConnectionStatusstatus()Get the status property: Status of the the private link service connection.voidvalidate()Validates the instance.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStatewithActionsRequired(String actionsRequired)Set the actionsRequired property: A description of any extra actions that may be required.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStatewithDescription(String description)Set the description property: The description for the private link service connection state.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStatewithStatus(PrivateLinkServiceConnectionStatus status)Set the status property: Status of the the private link service connection.
-
-
-
Method Detail
-
status
public PrivateLinkServiceConnectionStatus 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
public String 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
public String 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.
-
-