@Generated(value="software.amazon.awssdk:codegen") public final class BrokerSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BrokerSummary.Builder,BrokerSummary>
Modifier and Type | Class and Description |
---|---|
static interface |
BrokerSummary.Builder |
Modifier and Type | Method and Description |
---|---|
String |
brokerArn()
The Amazon Resource Name (ARN) of the broker.
|
String |
brokerId()
The unique ID that Amazon MQ generates for the broker.
|
String |
brokerName()
The name of the broker.
|
BrokerState |
brokerState()
The status of the broker.
|
String |
brokerStateAsString()
The status of the broker.
|
static BrokerSummary.Builder |
builder() |
Instant |
created()
The time when the broker was created.
|
DeploymentMode |
deploymentMode()
Required.
|
String |
deploymentModeAsString()
Required.
|
EngineType |
engineType()
Required.
|
String |
engineTypeAsString()
Required.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostInstanceType()
The broker's instance type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BrokerSummary.Builder> |
serializableBuilderClass() |
BrokerSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String brokerArn()
public final String brokerId()
public final String brokerName()
public final BrokerState brokerState()
If the service returns an enum value that is not available in the current SDK version, brokerState
will
return BrokerState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
brokerStateAsString()
.
BrokerState
public final String brokerStateAsString()
If the service returns an enum value that is not available in the current SDK version, brokerState
will
return BrokerState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
brokerStateAsString()
.
BrokerState
public final Instant created()
public final DeploymentMode deploymentMode()
If the service returns an enum value that is not available in the current SDK version, deploymentMode
will return DeploymentMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentModeAsString()
.
DeploymentMode
public final String deploymentModeAsString()
If the service returns an enum value that is not available in the current SDK version, deploymentMode
will return DeploymentMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentModeAsString()
.
DeploymentMode
public final EngineType engineType()
If the service returns an enum value that is not available in the current SDK version, engineType
will
return EngineType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
engineTypeAsString()
.
EngineType
public final String engineTypeAsString()
If the service returns an enum value that is not available in the current SDK version, engineType
will
return EngineType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
engineTypeAsString()
.
EngineType
public final String hostInstanceType()
public BrokerSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BrokerSummary.Builder,BrokerSummary>
public static BrokerSummary.Builder builder()
public static Class<? extends BrokerSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.