Class PrivateLinkServiceConnectionState
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.PrivateLinkServiceConnectionState
-
public final class PrivateLinkServiceConnectionState extends Object
Private Link Service Connection State.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkServiceConnectionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
actionRequired()
Get the actionRequired property: Gets or sets actions required.String
description()
Get the description property: Gets or sets description.PrivateEndpointConnectionStatus
status()
Get the status property: Gets or sets the status.void
validate()
Validates the instance.PrivateLinkServiceConnectionState
withActionRequired(String actionRequired)
Set the actionRequired property: Gets or sets actions required.PrivateLinkServiceConnectionState
withDescription(String description)
Set the description property: Gets or sets description.PrivateLinkServiceConnectionState
withStatus(PrivateEndpointConnectionStatus status)
Set the status property: Gets or sets the status.
-
-
-
Method Detail
-
status
public PrivateEndpointConnectionStatus status()
Get the status property: Gets or sets the status.- Returns:
- the status value.
-
withStatus
public PrivateLinkServiceConnectionState withStatus(PrivateEndpointConnectionStatus status)
Set the status property: Gets or sets the status.- Parameters:
status
- the status value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
description
public String description()
Get the description property: Gets or sets description.- Returns:
- the description value.
-
withDescription
public PrivateLinkServiceConnectionState withDescription(String description)
Set the description property: Gets or sets description.- Parameters:
description
- the description value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
actionRequired
public String actionRequired()
Get the actionRequired property: Gets or sets actions required.- Returns:
- the actionRequired value.
-
withActionRequired
public PrivateLinkServiceConnectionState withActionRequired(String actionRequired)
Set the actionRequired property: Gets or sets actions required.- Parameters:
actionRequired
- the actionRequired value to set.- Returns:
- the PrivateLinkServiceConnectionState object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-