ConnectionState Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. ConnectionState
- com.
Implements
public final class ConnectionState
implements JsonSerializable<ConnectionState>
ConnectionState information.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionState() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
actionsRequired()
Get the actions |
| String |
description()
Get the description property: Description of the connection state. |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
|
Persisted |
status()
Get the status property: Status of the connection. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Connection |
withActionsRequired(String actionsRequired)
Set the actions |
|
Connection |
withDescription(String description)
Set the description property: Description of the connection state. |
|
Connection |
withStatus(PersistedConnectionStatus status)
Set the status property: Status of the connection. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionState
public ConnectionState()
Creates an instance of ConnectionState class.
Method Details
actionsRequired
public String actionsRequired()
Get the actionsRequired property: Actions required (if any).
Returns:
description
public String description()
Get the description property: Description of the connection state.
Returns:
fromJson
public static ConnectionState fromJson(JsonReader jsonReader)
Reads an instance of ConnectionState from the JsonReader.
Parameters:
Returns:
Throws:
status
public PersistedConnectionStatus status()
Get the status property: Status of the connection.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActionsRequired
public ConnectionState withActionsRequired(String actionsRequired)
Set the actionsRequired property: Actions required (if any).
Parameters:
Returns:
withDescription
public ConnectionState withDescription(String description)
Set the description property: Description of the connection state.
Parameters:
Returns:
withStatus
public ConnectionState withStatus(PersistedConnectionStatus status)
Set the status property: Status of the connection.
Parameters:
Returns: