Class ConnectionPropertiesPrivateLinkServiceConnectionState
- java.lang.Object
-
- com.azure.resourcemanager.digitaltwins.models.ConnectionState
-
- com.azure.resourcemanager.digitaltwins.models.ConnectionPropertiesPrivateLinkServiceConnectionState
-
public final class ConnectionPropertiesPrivateLinkServiceConnectionState extends ConnectionState
The connection state.
-
-
Constructor Summary
Constructors Constructor Description ConnectionPropertiesPrivateLinkServiceConnectionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.ConnectionPropertiesPrivateLinkServiceConnectionState
withActionsRequired(String actionsRequired)
Set the actionsRequired property: Actions required for a private endpoint connection.ConnectionPropertiesPrivateLinkServiceConnectionState
withDescription(String description)
Set the description property: The description for the current state of a private endpoint connection.ConnectionPropertiesPrivateLinkServiceConnectionState
withStatus(PrivateLinkServiceConnectionStatus status)
Set the status property: The status of a private endpoint connection.-
Methods inherited from class com.azure.resourcemanager.digitaltwins.models.ConnectionState
actionsRequired, description, status
-
-
-
-
Method Detail
-
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
public ConnectionPropertiesPrivateLinkServiceConnectionState withDescription(String description)
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.
-
-