ConnectionState Class

  • java.lang.Object
    • com.microsoft.azure.management.digitaltwins.v2020_12_01.ConnectionState

public class ConnectionState

The current state of a private endpoint connection.

Constructor Summary

Constructor Description
ConnectionState()

Method Summary

Modifier and Type Method and Description
java.lang.String actionsRequired()

Get actions required for a private endpoint connection.

java.lang.String description()

Get the description for the current state of a private endpoint connection.

PrivateLinkServiceConnectionStatus status()

Get the status of a private endpoint connection.

ConnectionState withActionsRequired(String actionsRequired)

Set actions required for a private endpoint connection.

ConnectionState withDescription(String description)

Set the description for the current state of a private endpoint connection.

ConnectionState withStatus(PrivateLinkServiceConnectionStatus status)

Set the status of a private endpoint connection.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ConnectionState

public ConnectionState()

Method Details

actionsRequired

public String actionsRequired()

Get actions required for a private endpoint connection.

Returns:

the actionsRequired value

description

public String description()

Get the description for the current state of a private endpoint connection.

Returns:

the description value

status

public PrivateLinkServiceConnectionStatus status()

Get the status of a private endpoint connection. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'.

Returns:

the status value

withActionsRequired

public ConnectionState withActionsRequired(String actionsRequired)

Set actions required for a private endpoint connection.

Parameters:

actionsRequired - the actionsRequired value to set

Returns:

the ConnectionState object itself.

withDescription

public ConnectionState withDescription(String description)

Set the description for the current state of a private endpoint connection.

Parameters:

description - the description value to set

Returns:

the ConnectionState object itself.

withStatus

public ConnectionState withStatus(PrivateLinkServiceConnectionStatus status)

Set the status of a private endpoint connection. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'.

Parameters:

status - the status value to set

Returns:

the ConnectionState object itself.

Applies to