@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBrokerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeBrokerResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBrokerResult |
addTagsEntry(String key,
String value) |
DescribeBrokerResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
DescribeBrokerResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoMinorVersionUpgrade()
Required.
|
String |
getBrokerArn()
The Amazon Resource Name (ARN) of the broker.
|
String |
getBrokerId()
The unique ID that Amazon MQ generates for the broker.
|
List<BrokerInstance> |
getBrokerInstances()
A list of information about allocated brokers.
|
String |
getBrokerName()
The name of the broker.
|
String |
getBrokerState()
The status of the broker.
|
Configurations |
getConfigurations()
The list of all revisions for the specified configuration.
|
Date |
getCreated()
The time when the broker was created.
|
String |
getDeploymentMode()
Required.
|
EncryptionOptions |
getEncryptionOptions()
Encryption options for the broker.
|
String |
getEngineType()
Required.
|
String |
getEngineVersion()
The version of the broker engine.
|
String |
getHostInstanceType()
The broker's instance type.
|
LogsSummary |
getLogs()
The list of information about logs currently enabled and pending to be deployed for the specified broker.
|
WeeklyStartTime |
getMaintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
String |
getPendingEngineVersion()
The version of the broker engine to upgrade to.
|
String |
getPendingHostInstanceType()
The host instance type of the broker to upgrade to.
|
List<String> |
getPendingSecurityGroups()
The list of pending security groups to authorize connections to brokers.
|
Boolean |
getPubliclyAccessible()
Required.
|
List<String> |
getSecurityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
String |
getStorageType()
The broker's storage type.
|
List<String> |
getSubnetIds()
The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones.
|
Map<String,String> |
getTags()
The list of all tags associated with this broker.
|
List<UserSummary> |
getUsers()
The list of all ActiveMQ usernames for the specified broker.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
Required.
|
Boolean |
isPubliclyAccessible()
Required.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Required.
|
void |
setBrokerArn(String brokerArn)
The Amazon Resource Name (ARN) of the broker.
|
void |
setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
void |
setBrokerInstances(Collection<BrokerInstance> brokerInstances)
A list of information about allocated brokers.
|
void |
setBrokerName(String brokerName)
The name of the broker.
|
void |
setBrokerState(String brokerState)
The status of the broker.
|
void |
setConfigurations(Configurations configurations)
The list of all revisions for the specified configuration.
|
void |
setCreated(Date created)
The time when the broker was created.
|
void |
setDeploymentMode(String deploymentMode)
Required.
|
void |
setEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker.
|
void |
setEngineType(String engineType)
Required.
|
void |
setEngineVersion(String engineVersion)
The version of the broker engine.
|
void |
setHostInstanceType(String hostInstanceType)
The broker's instance type.
|
void |
setLogs(LogsSummary logs)
The list of information about logs currently enabled and pending to be deployed for the specified broker.
|
void |
setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
void |
setPendingEngineVersion(String pendingEngineVersion)
The version of the broker engine to upgrade to.
|
void |
setPendingHostInstanceType(String pendingHostInstanceType)
The host instance type of the broker to upgrade to.
|
void |
setPendingSecurityGroups(Collection<String> pendingSecurityGroups)
The list of pending security groups to authorize connections to brokers.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Required.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
void |
setStorageType(String storageType)
The broker's storage type.
|
void |
setSubnetIds(Collection<String> subnetIds)
The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones.
|
void |
setTags(Map<String,String> tags)
The list of all tags associated with this broker.
|
void |
setUsers(Collection<UserSummary> users)
The list of all ActiveMQ usernames for the specified broker.
|
String |
toString()
Returns a string representation of this object.
|
DescribeBrokerResult |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Required.
|
DescribeBrokerResult |
withBrokerArn(String brokerArn)
The Amazon Resource Name (ARN) of the broker.
|
DescribeBrokerResult |
withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
DescribeBrokerResult |
withBrokerInstances(BrokerInstance... brokerInstances)
A list of information about allocated brokers.
|
DescribeBrokerResult |
withBrokerInstances(Collection<BrokerInstance> brokerInstances)
A list of information about allocated brokers.
|
DescribeBrokerResult |
withBrokerName(String brokerName)
The name of the broker.
|
DescribeBrokerResult |
withBrokerState(BrokerState brokerState)
The status of the broker.
|
DescribeBrokerResult |
withBrokerState(String brokerState)
The status of the broker.
|
DescribeBrokerResult |
withConfigurations(Configurations configurations)
The list of all revisions for the specified configuration.
|
DescribeBrokerResult |
withCreated(Date created)
The time when the broker was created.
|
DescribeBrokerResult |
withDeploymentMode(DeploymentMode deploymentMode)
Required.
|
DescribeBrokerResult |
withDeploymentMode(String deploymentMode)
Required.
|
DescribeBrokerResult |
withEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker.
|
DescribeBrokerResult |
withEngineType(EngineType engineType)
Required.
|
DescribeBrokerResult |
withEngineType(String engineType)
Required.
|
DescribeBrokerResult |
withEngineVersion(String engineVersion)
The version of the broker engine.
|
DescribeBrokerResult |
withHostInstanceType(String hostInstanceType)
The broker's instance type.
|
DescribeBrokerResult |
withLogs(LogsSummary logs)
The list of information about logs currently enabled and pending to be deployed for the specified broker.
|
DescribeBrokerResult |
withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
DescribeBrokerResult |
withPendingEngineVersion(String pendingEngineVersion)
The version of the broker engine to upgrade to.
|
DescribeBrokerResult |
withPendingHostInstanceType(String pendingHostInstanceType)
The host instance type of the broker to upgrade to.
|
DescribeBrokerResult |
withPendingSecurityGroups(Collection<String> pendingSecurityGroups)
The list of pending security groups to authorize connections to brokers.
|
DescribeBrokerResult |
withPendingSecurityGroups(String... pendingSecurityGroups)
The list of pending security groups to authorize connections to brokers.
|
DescribeBrokerResult |
withPubliclyAccessible(Boolean publiclyAccessible)
Required.
|
DescribeBrokerResult |
withSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
DescribeBrokerResult |
withSecurityGroups(String... securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
DescribeBrokerResult |
withStorageType(BrokerStorageType storageType)
The broker's storage type.
|
DescribeBrokerResult |
withStorageType(String storageType)
The broker's storage type.
|
DescribeBrokerResult |
withSubnetIds(Collection<String> subnetIds)
The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones.
|
DescribeBrokerResult |
withSubnetIds(String... subnetIds)
The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones.
|
DescribeBrokerResult |
withTags(Map<String,String> tags)
The list of all tags associated with this broker.
|
DescribeBrokerResult |
withUsers(Collection<UserSummary> users)
The list of all ActiveMQ usernames for the specified broker.
|
DescribeBrokerResult |
withUsers(UserSummary... users)
The list of all ActiveMQ usernames for the specified broker.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- Required. Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
The automatic upgrades occur during the maintenance window of the broker or after a manual broker reboot.public Boolean getAutoMinorVersionUpgrade()
public DescribeBrokerResult withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- Required. Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
The automatic upgrades occur during the maintenance window of the broker or after a manual broker reboot.public Boolean isAutoMinorVersionUpgrade()
public void setBrokerArn(String brokerArn)
brokerArn
- The Amazon Resource Name (ARN) of the broker.public String getBrokerArn()
public DescribeBrokerResult withBrokerArn(String brokerArn)
brokerArn
- The Amazon Resource Name (ARN) of the broker.public void setBrokerId(String brokerId)
brokerId
- The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public DescribeBrokerResult withBrokerId(String brokerId)
brokerId
- The unique ID that Amazon MQ generates for the broker.public List<BrokerInstance> getBrokerInstances()
public void setBrokerInstances(Collection<BrokerInstance> brokerInstances)
brokerInstances
- A list of information about allocated brokers.public DescribeBrokerResult withBrokerInstances(BrokerInstance... brokerInstances)
NOTE: This method appends the values to the existing list (if any). Use
setBrokerInstances(java.util.Collection)
or withBrokerInstances(java.util.Collection)
if you
want to override the existing values.
brokerInstances
- A list of information about allocated brokers.public DescribeBrokerResult withBrokerInstances(Collection<BrokerInstance> brokerInstances)
brokerInstances
- A list of information about allocated brokers.public void setBrokerName(String brokerName)
brokerName
- The name of the broker. 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 whitespaces, brackets, wildcard
characters, or special characters.public String getBrokerName()
public DescribeBrokerResult withBrokerName(String brokerName)
brokerName
- The name of the broker. 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 whitespaces, brackets, wildcard
characters, or special characters.public void setBrokerState(String brokerState)
brokerState
- The status of the broker.BrokerState
public String getBrokerState()
BrokerState
public DescribeBrokerResult withBrokerState(String brokerState)
brokerState
- The status of the broker.BrokerState
public DescribeBrokerResult withBrokerState(BrokerState brokerState)
brokerState
- The status of the broker.BrokerState
public void setConfigurations(Configurations configurations)
configurations
- The list of all revisions for the specified configuration.public Configurations getConfigurations()
public DescribeBrokerResult withConfigurations(Configurations configurations)
configurations
- The list of all revisions for the specified configuration.public void setCreated(Date created)
created
- The time when the broker was created.public Date getCreated()
public DescribeBrokerResult withCreated(Date created)
created
- The time when the broker was created.public void setDeploymentMode(String deploymentMode)
deploymentMode
- Required. The deployment mode of the broker.DeploymentMode
public String getDeploymentMode()
DeploymentMode
public DescribeBrokerResult withDeploymentMode(String deploymentMode)
deploymentMode
- Required. The deployment mode of the broker.DeploymentMode
public DescribeBrokerResult withDeploymentMode(DeploymentMode deploymentMode)
deploymentMode
- Required. The deployment mode of the broker.DeploymentMode
public void setEncryptionOptions(EncryptionOptions encryptionOptions)
encryptionOptions
- Encryption options for the broker.public EncryptionOptions getEncryptionOptions()
public DescribeBrokerResult withEncryptionOptions(EncryptionOptions encryptionOptions)
encryptionOptions
- Encryption options for the broker.public void setEngineType(String engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineType
public String getEngineType()
EngineType
public DescribeBrokerResult withEngineType(String engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineType
public DescribeBrokerResult withEngineType(EngineType engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineType
public void setEngineVersion(String engineVersion)
engineVersion
- The version of the broker engine. For a list of supported engine versions, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.htmlpublic String getEngineVersion()
public DescribeBrokerResult withEngineVersion(String engineVersion)
engineVersion
- The version of the broker engine. For a list of supported engine versions, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.htmlpublic void setHostInstanceType(String hostInstanceType)
hostInstanceType
- The broker's instance type.public String getHostInstanceType()
public DescribeBrokerResult withHostInstanceType(String hostInstanceType)
hostInstanceType
- The broker's instance type.public void setLogs(LogsSummary logs)
logs
- The list of information about logs currently enabled and pending to be deployed for the specified broker.public LogsSummary getLogs()
public DescribeBrokerResult withLogs(LogsSummary logs)
logs
- The list of information about logs currently enabled and pending to be deployed for the specified broker.public void setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public WeeklyStartTime getMaintenanceWindowStartTime()
public DescribeBrokerResult withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public void setPendingEngineVersion(String pendingEngineVersion)
pendingEngineVersion
- The version of the broker engine to upgrade to. For a list of supported engine versions, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.htmlpublic String getPendingEngineVersion()
public DescribeBrokerResult withPendingEngineVersion(String pendingEngineVersion)
pendingEngineVersion
- The version of the broker engine to upgrade to. For a list of supported engine versions, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.htmlpublic void setPendingHostInstanceType(String pendingHostInstanceType)
pendingHostInstanceType
- The host instance type of the broker to upgrade to. For a list of supported instance types, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide//broker.html#broker-instance-typespublic String getPendingHostInstanceType()
public DescribeBrokerResult withPendingHostInstanceType(String pendingHostInstanceType)
pendingHostInstanceType
- The host instance type of the broker to upgrade to. For a list of supported instance types, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide//broker.html#broker-instance-typespublic List<String> getPendingSecurityGroups()
public void setPendingSecurityGroups(Collection<String> pendingSecurityGroups)
pendingSecurityGroups
- The list of pending security groups to authorize connections to brokers.public DescribeBrokerResult withPendingSecurityGroups(String... pendingSecurityGroups)
NOTE: This method appends the values to the existing list (if any). Use
setPendingSecurityGroups(java.util.Collection)
or
withPendingSecurityGroups(java.util.Collection)
if you want to override the existing values.
pendingSecurityGroups
- The list of pending security groups to authorize connections to brokers.public DescribeBrokerResult withPendingSecurityGroups(Collection<String> pendingSecurityGroups)
pendingSecurityGroups
- The list of pending security groups to authorize connections to brokers.public void setPubliclyAccessible(Boolean publiclyAccessible)
publiclyAccessible
- Required. Enables connections from applications outside of the VPC that hosts the broker's subnets.public Boolean getPubliclyAccessible()
public DescribeBrokerResult withPubliclyAccessible(Boolean publiclyAccessible)
publiclyAccessible
- Required. Enables connections from applications outside of the VPC that hosts the broker's subnets.public Boolean isPubliclyAccessible()
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public DescribeBrokerResult withSecurityGroups(String... securityGroups)
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public DescribeBrokerResult withSecurityGroups(Collection<String> securityGroups)
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public void setStorageType(String storageType)
storageType
- The broker's storage type.BrokerStorageType
public String getStorageType()
BrokerStorageType
public DescribeBrokerResult withStorageType(String storageType)
storageType
- The broker's storage type.BrokerStorageType
public DescribeBrokerResult withStorageType(BrokerStorageType storageType)
storageType
- The broker's storage type.BrokerStorageType
public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An
ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.public DescribeBrokerResult withSubnetIds(String... subnetIds)
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An
ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.public DescribeBrokerResult withSubnetIds(Collection<String> subnetIds)
subnetIds
- The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An
ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- The list of all tags associated with this broker.public DescribeBrokerResult withTags(Map<String,String> tags)
tags
- The list of all tags associated with this broker.public DescribeBrokerResult addTagsEntry(String key, String value)
public DescribeBrokerResult clearTagsEntries()
public List<UserSummary> getUsers()
public void setUsers(Collection<UserSummary> users)
users
- The list of all ActiveMQ usernames for the specified broker.public DescribeBrokerResult withUsers(UserSummary... users)
NOTE: This method appends the values to the existing list (if any). Use
setUsers(java.util.Collection)
or withUsers(java.util.Collection)
if you want to override the
existing values.
users
- The list of all ActiveMQ usernames for the specified broker.public DescribeBrokerResult withUsers(Collection<UserSummary> users)
users
- The list of all ActiveMQ usernames for the specified broker.public String toString()
toString
in class Object
Object.toString()
public DescribeBrokerResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.