Class ConnectionPropertiesPrivateLinkServiceConnectionState
java.lang.Object
com.azure.resourcemanager.digitaltwins.models.ConnectionState
com.azure.resourcemanager.digitaltwins.models.ConnectionPropertiesPrivateLinkServiceConnectionState
The connection state.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Methods inherited from class com.azure.resourcemanager.digitaltwins.models.ConnectionState
actionsRequired, description, status
-
Constructor Details
-
ConnectionPropertiesPrivateLinkServiceConnectionState
public ConnectionPropertiesPrivateLinkServiceConnectionState()
-
-
Method Details
-
withStatus
public ConnectionPropertiesPrivateLinkServiceConnectionState withStatus(PrivateLinkServiceConnectionStatus status) Set the status property: The status of a private endpoint connection.- Overrides:
withStatus
in classConnectionState
- Parameters:
status
- the status value to set.- Returns:
- the ConnectionState object itself.
-
withDescription
Set the description property: The description for the current state of a private endpoint connection.- Overrides:
withDescription
in classConnectionState
- Parameters:
description
- the description value to set.- Returns:
- the ConnectionState object itself.
-
withActionsRequired
public ConnectionPropertiesPrivateLinkServiceConnectionState withActionsRequired(String actionsRequired) Set the actionsRequired property: Actions required for a private endpoint connection.- Overrides:
withActionsRequired
in classConnectionState
- Parameters:
actionsRequired
- the actionsRequired value to set.- Returns:
- the ConnectionState object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classConnectionState
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-