PrivateLinkServiceConnectionState Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. PrivateLinkServiceConnectionState
- com.
Implements
public final class PrivateLinkServiceConnectionState
implements JsonSerializable<PrivateLinkServiceConnectionState>
The state of a private link service connection.
Constructor Summary
Constructor | Description |
---|---|
PrivateLinkServiceConnectionState() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
Actions |
actionsRequired()
Get the actions |
String |
description()
Get the description property: The description for connection status. |
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
Connection |
status()
Get the status property: The private link service connection status. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Private |
withActionsRequired(ActionsRequired actionsRequired)
Set the actions |
Private |
withDescription(String description)
Set the description property: The description for connection status. |
Private |
withStatus(ConnectionStatus status)
Set the status property: The private link service connection status. |
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkServiceConnectionState
public PrivateLinkServiceConnectionState()
Creates an instance of PrivateLinkServiceConnectionState class.
Method Details
actionsRequired
public ActionsRequired actionsRequired()
Get the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.
Returns:
description
public String description()
Get the description property: The description for connection status. For example if connection is rejected it can indicate reason for rejection.
Returns:
fromJson
public static PrivateLinkServiceConnectionState fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkServiceConnectionState from the JsonReader.
Parameters:
Returns:
Throws:
status
public ConnectionStatus status()
Get the status property: The private link service connection status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActionsRequired
public PrivateLinkServiceConnectionState withActionsRequired(ActionsRequired actionsRequired)
Set the actionsRequired property: A message indicating if changes on the service provider require any updates on the consumer.
Parameters:
Returns:
withDescription
public PrivateLinkServiceConnectionState withDescription(String description)
Set the description property: The description for connection status. For example if connection is rejected it can indicate reason for rejection.
Parameters:
Returns:
withStatus
public PrivateLinkServiceConnectionState withStatus(ConnectionStatus status)
Set the status property: The private link service connection status.
Parameters:
Returns:
Applies to
Azure SDK for Java