Class PrivateLinkServiceConnectionState
- java.lang.Object
-
- com.azure.resourcemanager.deviceprovisioningservices.models.PrivateLinkServiceConnectionState
-
public final class PrivateLinkServiceConnectionState extends Object
The current state of a private endpoint connection.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkServiceConnectionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
actionsRequired()
Get the actionsRequired property: Actions required for a private endpoint connection.String
description()
Get the description property: The description for the current state of a private endpoint connection.PrivateLinkServiceConnectionStatus
status()
Get the status property: The status of a private endpoint connection.void
validate()
Validates the instance.PrivateLinkServiceConnectionState
withActionsRequired(String actionsRequired)
Set the actionsRequired property: Actions required for a private endpoint connection.PrivateLinkServiceConnectionState
withDescription(String description)
Set the description property: The description for the current state of a private endpoint connection.PrivateLinkServiceConnectionState
withStatus(PrivateLinkServiceConnectionStatus status)
Set the status property: The status of a private endpoint connection.
-
-
-
Method Detail
-
status
public PrivateLinkServiceConnectionStatus status()
Get the status property: The status of a private endpoint connection.- Returns:
- the status value.
-
withStatus
public PrivateLinkServiceConnectionState withStatus(PrivateLinkServiceConnectionStatus status)
Set the status property: The status of a private endpoint connection.- Parameters:
status
- the status value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
description
public String description()
Get the description property: The description for the current state of a private endpoint connection.- Returns:
- the description value.
-
withDescription
public PrivateLinkServiceConnectionState withDescription(String description)
Set the description property: The description for the current state of a private endpoint connection.- Parameters:
description
- the description value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
actionsRequired
public String actionsRequired()
Get the actionsRequired property: Actions required for a private endpoint connection.- Returns:
- the actionsRequired value.
-
withActionsRequired
public PrivateLinkServiceConnectionState withActionsRequired(String actionsRequired)
Set the actionsRequired property: Actions required for a private endpoint connection.- 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.
-
-