Class ConnectionState
java.lang.Object
com.azure.resourcemanager.digitaltwins.models.ConnectionState
- Direct Known Subclasses:
ConnectionPropertiesPrivateLinkServiceConnectionState
The current state of a private endpoint connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the actionsRequired property: Actions required for a private endpoint connection.Get the description property: The description for the current state of a private endpoint connection.status()
Get the status property: The status of a private endpoint connection.void
validate()
Validates the instance.withActionsRequired
(String actionsRequired) Set the actionsRequired property: Actions required for a private endpoint connection.withDescription
(String description) Set the description property: The description for the current state of a private endpoint connection.Set the status property: The status of a private endpoint connection.
-
Constructor Details
-
ConnectionState
public ConnectionState()
-
-
Method Details
-
status
Get the status property: The status of a private endpoint connection.- Returns:
- the status value.
-
withStatus
Set the status property: The status of a private endpoint connection.- Parameters:
status
- the status value to set.- Returns:
- the ConnectionState object itself.
-
description
Get the description property: The description for the current state of a private endpoint connection.- Returns:
- the description value.
-
withDescription
Set the description property: The description for the current state of a private endpoint connection.- Parameters:
description
- the description value to set.- Returns:
- the ConnectionState object itself.
-
actionsRequired
Get the actionsRequired property: Actions required for a private endpoint connection.- Returns:
- the actionsRequired value.
-
withActionsRequired
Set the actionsRequired property: Actions required for a private endpoint connection.- Parameters:
actionsRequired
- the actionsRequired value to set.- Returns:
- the ConnectionState object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-