ConnectionState Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. ConnectionState
- com.
public final class ConnectionState
ConnectionState information.
Constructor Summary
Constructor | Description | |
---|---|---|
ConnectionState() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of the connection state. |
Private |
status()
Get the status property: Status of the connection. |
void |
validate()
Validates the instance. |
Connection |
withDescription(String description)
Set the description property: Description of the connection state. |
Connection |
withStatus(PrivateLinkConnectionStatus status)
Set the status property: Status of the connection. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionState
public ConnectionState()
Method Details
description
public String description()
Get the description property: Description of the connection state.
Returns:
status
public PrivateLinkConnectionStatus status()
Get the status property: Status of the connection.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public ConnectionState withDescription(String description)
Set the description property: Description of the connection state.
Parameters:
Returns:
withStatus
public ConnectionState withStatus(PrivateLinkConnectionStatus status)
Set the status property: Status of the connection.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för