@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 |
|---|---|
List<ActionRequired> |
actionsRequired()
A list of actions required for a broker.
|
AuthenticationStrategy |
authenticationStrategy()
The authentication strategy used to secure the broker.
|
String |
authenticationStrategyAsString()
The authentication strategy used to secure the broker.
|
Boolean |
autoMinorVersionUpgrade()
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
String |
brokerArn()
The broker's Amazon Resource Name (ARN).
|
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 broker's name.
|
BrokerState |
brokerState()
The broker's status.
|
String |
brokerStateAsString()
The broker's status.
|
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()
The broker's deployment mode.
|
String |
deploymentModeAsString()
The broker's deployment mode.
|
EncryptionOptions |
encryptionOptions()
Encryption options for the broker.
|
EngineType |
engineType()
The type of broker engine.
|
String |
engineTypeAsString()
The type of broker engine.
|
String |
engineVersion()
The broker engine's version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActionsRequired()
For responses, this returns true if the service returned a value for the ActionsRequired property.
|
boolean |
hasBrokerInstances()
For responses, this returns true if the service returned a value for the BrokerInstances property.
|
int |
hashCode() |
boolean |
hasPendingSecurityGroups()
For responses, this returns true if the service returned a value for the PendingSecurityGroups property.
|
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
boolean |
hasUsers()
For responses, this returns true if the service returned a value for the Users property.
|
String |
hostInstanceType()
The broker's instance type.
|
LdapServerMetadataOutput |
ldapServerMetadata()
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
|
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.
|
AuthenticationStrategy |
pendingAuthenticationStrategy()
The authentication strategy that will be applied when the broker is rebooted.
|
String |
pendingAuthenticationStrategyAsString()
The authentication strategy that will be applied when the broker is rebooted.
|
String |
pendingEngineVersion()
The broker engine version to upgrade to.
|
String |
pendingHostInstanceType()
The broker's host instance type to upgrade to.
|
LdapServerMetadataOutput |
pendingLdapServerMetadata()
The metadata of the LDAP server that will be used to authenticate and authorize connections to the broker after
it is rebooted.
|
List<String> |
pendingSecurityGroups()
The list of pending security groups to authorize connections to brokers.
|
Boolean |
publiclyAccessible()
Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
static Class<? extends DescribeBrokerResponse.Builder> |
serializableBuilderClass() |
BrokerStorageType |
storageType()
The broker's storage type.
|
String |
storageTypeAsString()
The broker's storage type.
|
List<String> |
subnetIds()
The list of groups 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() |
String |
toString()
Returns a string representation of this object.
|
List<UserSummary> |
users()
The list of all broker usernames for the specified broker.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasActionsRequired()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ActionRequired> actionsRequired()
A list of actions required for a broker.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasActionsRequired() method.
public final AuthenticationStrategy authenticationStrategy()
The authentication strategy used to secure the broker. The default is SIMPLE.
If the service returns an enum value that is not available in the current SDK version,
authenticationStrategy will return AuthenticationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from authenticationStrategyAsString().
AuthenticationStrategypublic final String authenticationStrategyAsString()
The authentication strategy used to secure the broker. The default is SIMPLE.
If the service returns an enum value that is not available in the current SDK version,
authenticationStrategy will return AuthenticationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from authenticationStrategyAsString().
AuthenticationStrategypublic final Boolean autoMinorVersionUpgrade()
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
public final String brokerArn()
The broker's Amazon Resource Name (ARN).
public final String brokerId()
The unique ID that Amazon MQ generates for the broker.
public final boolean hasBrokerInstances()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<BrokerInstance> brokerInstances()
A list of information about allocated brokers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBrokerInstances() method.
public final String brokerName()
The broker's name. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
public final BrokerState brokerState()
The broker's status.
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 final String brokerStateAsString()
The broker's status.
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 final Configurations configurations()
The list of all revisions for the specified configuration.
public final Instant created()
The time when the broker was created.
public final DeploymentMode deploymentMode()
The broker's deployment mode.
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 final String deploymentModeAsString()
The broker's deployment mode.
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 final EncryptionOptions encryptionOptions()
Encryption options for the broker. Does not apply to RabbitMQ brokers.
public final EngineType engineType()
The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
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 final String engineTypeAsString()
The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
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 final String engineVersion()
The broker engine's version. For a list of supported engine versions, see Supported engines.
public final String hostInstanceType()
The broker's instance type.
public final LdapServerMetadataOutput ldapServerMetadata()
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
public final LogsSummary logs()
The list of information about logs currently enabled and pending to be deployed for the specified broker.
public final WeeklyStartTime maintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
public final AuthenticationStrategy pendingAuthenticationStrategy()
The authentication strategy that will be applied when the broker is rebooted. The default is SIMPLE.
If the service returns an enum value that is not available in the current SDK version,
pendingAuthenticationStrategy will return AuthenticationStrategy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from pendingAuthenticationStrategyAsString().
AuthenticationStrategypublic final String pendingAuthenticationStrategyAsString()
The authentication strategy that will be applied when the broker is rebooted. The default is SIMPLE.
If the service returns an enum value that is not available in the current SDK version,
pendingAuthenticationStrategy will return AuthenticationStrategy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from pendingAuthenticationStrategyAsString().
AuthenticationStrategypublic final String pendingEngineVersion()
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
public final String pendingHostInstanceType()
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
public final LdapServerMetadataOutput pendingLdapServerMetadata()
The metadata of the LDAP server that will be used to authenticate and authorize connections to the broker after it is rebooted.
public final boolean hasPendingSecurityGroups()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> pendingSecurityGroups()
The list of pending security groups to authorize connections to brokers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPendingSecurityGroups() method.
public final Boolean publiclyAccessible()
Enables connections from applications outside of the VPC that hosts the broker's subnets.
public final boolean hasSecurityGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> securityGroups()
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroups() method.
public final BrokerStorageType storageType()
The broker's storage type.
If the service returns an enum value that is not available in the current SDK version, storageType will
return BrokerStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
BrokerStorageTypepublic final String storageTypeAsString()
The broker's storage type.
If the service returns an enum value that is not available in the current SDK version, storageType will
return BrokerStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
BrokerStorageTypepublic final boolean hasSubnetIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> subnetIds()
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnetIds() method.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The list of all tags associated with this broker.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final boolean hasUsers()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<UserSummary> users()
The list of all broker usernames for the specified broker.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUsers() method.
public DescribeBrokerResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeBrokerResponse.Builder,DescribeBrokerResponse>toBuilder in class AwsResponsepublic static DescribeBrokerResponse.Builder builder()
public static Class<? extends DescribeBrokerResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.