@Generated(value="software.amazon.awssdk:codegen") public final class DescribeBrokerResponse extends MqResponse implements ToCopyableBuilder<DescribeBrokerResponse.Builder,DescribeBrokerResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeBrokerResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoMinorVersionUpgrade()
Required.
|
String |
brokerArn()
The Amazon Resource Name (ARN) of the broker.
|
String |
brokerId()
The unique ID that Amazon MQ generates for the broker.
|
List<BrokerInstance> |
brokerInstances()
A list of information about allocated brokers.
|
String |
brokerName()
The name of the broker.
|
BrokerState |
brokerState()
The status of the broker.
|
String |
brokerStateAsString()
The status of the broker.
|
static DescribeBrokerResponse.Builder |
builder() |
Configurations |
configurations()
The list of all revisions for the specified configuration.
|
Instant |
created()
The time when the broker was created.
|
DeploymentMode |
deploymentMode()
Required.
|
String |
deploymentModeAsString()
Required.
|
EngineType |
engineType()
Required.
|
String |
engineTypeAsString()
Required.
|
String |
engineVersion()
The version of the broker engine.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
int |
hashCode() |
String |
hostInstanceType()
The broker's instance type.
|
LogsSummary |
logs()
The list of information about logs currently enabled and pending to be deployed for the specified broker.
|
WeeklyStartTime |
maintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
String |
pendingEngineVersion()
The version of the broker engine to upgrade to.
|
Boolean |
publiclyAccessible()
Required.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
Required.
|
static Class<? extends DescribeBrokerResponse.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones.
|
Map<String,String> |
tags()
The list of all tags associated with this broker.
|
DescribeBrokerResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<UserSummary> |
users()
The list of all ActiveMQ usernames for the specified broker.
|
responseMetadatasdkHttpResponsecopypublic Boolean autoMinorVersionUpgrade()
public String brokerArn()
public String brokerId()
public List<BrokerInstance> brokerInstances()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String brokerName()
public 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().
BrokerStatepublic 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().
BrokerStatepublic Configurations configurations()
public Instant created()
public 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().
DeploymentModepublic 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().
DeploymentModepublic 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().
EngineTypepublic 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().
EngineTypepublic String engineVersion()
public String hostInstanceType()
public LogsSummary logs()
public WeeklyStartTime maintenanceWindowStartTime()
public String pendingEngineVersion()
public Boolean publiclyAccessible()
public List<String> securityGroups()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> subnetIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,String> tags()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<UserSummary> users()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public DescribeBrokerResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DescribeBrokerResponse.Builder,DescribeBrokerResponse>toBuilder in class AwsResponsepublic static DescribeBrokerResponse.Builder builder()
public static Class<? extends DescribeBrokerResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.