Class ConnectionState
java.lang.Object
com.azure.resourcemanager.eventhubs.models.ConnectionState
ConnectionState information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the connection state.status()
Get the status property: Status of the connection.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the connection state.Set the status property: Status of the connection.
-
Constructor Details
-
ConnectionState
public ConnectionState()
-
-
Method Details
-
status
Get the status property: Status of the connection.- Returns:
- the status value.
-
withStatus
Set the status property: Status of the connection.- Parameters:
status
- the status value to set.- Returns:
- the ConnectionState object itself.
-
description
Get the description property: Description of the connection state.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the connection state.- Parameters:
description
- the description value to set.- Returns:
- the ConnectionState object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-