ConnectionState Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.ConnectionState

public final class ConnectionState

ConnectionState information.

Constructor Summary

Constructor Description
ConnectionState()

Method Summary

Modifier and Type Method and Description
String actionsRequired()

Get the actionsRequired property: Actions required (if any).

String description()

Get the description property: Description of the connection state.

PersistedConnectionStatus status()

Get the status property: Status of the connection.

void validate()

Validates the instance.

ConnectionState withActionsRequired(String actionsRequired)

Set the actionsRequired property: Actions required (if any).

ConnectionState withDescription(String description)

Set the description property: Description of the connection state.

ConnectionState withStatus(PersistedConnectionStatus status)

Set the status property: Status of the connection.

Methods inherited from java.lang.Object

Constructor Details

ConnectionState

public ConnectionState()

Method Details

actionsRequired

public String actionsRequired()

Get the actionsRequired property: Actions required (if any).

Returns:

the actionsRequired value.

description

public String description()

Get the description property: Description of the connection state.

Returns:

the description value.

status

public PersistedConnectionStatus status()

Get the status property: Status of the connection.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withActionsRequired

public ConnectionState withActionsRequired(String actionsRequired)

Set the actionsRequired property: Actions required (if any).

Parameters:

actionsRequired - the actionsRequired value to set.

Returns:

the ConnectionState object itself.

withDescription

public ConnectionState withDescription(String description)

Set the description property: Description of the connection state.

Parameters:

description - the description value to set.

Returns:

the ConnectionState object itself.

withStatus

public ConnectionState withStatus(PersistedConnectionStatus status)

Set the status property: Status of the connection.

Parameters:

status - the status value to set.

Returns:

the ConnectionState object itself.

Applies to