@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.
|
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.
|
Boolean |
getPubliclyAccessible()
Required.
|
List<String> |
getSecurityGroups()
Required.
|
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 |
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 |
setPubliclyAccessible(Boolean publiclyAccessible)
Required.
|
void |
setSecurityGroups(Collection<String> securityGroups)
Required.
|
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 |
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 |
withPubliclyAccessible(Boolean publiclyAccessible)
Required.
|
DescribeBrokerResult |
withSecurityGroups(Collection<String> securityGroups)
Required.
|
DescribeBrokerResult |
withSecurityGroups(String... securityGroups)
Required.
|
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, setSdkResponseMetadatapublic 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.BrokerStatepublic String getBrokerState()
BrokerStatepublic DescribeBrokerResult withBrokerState(String brokerState)
brokerState - The status of the broker.BrokerStatepublic DescribeBrokerResult withBrokerState(BrokerState brokerState)
brokerState - The status of the broker.BrokerStatepublic 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.DeploymentModepublic String getDeploymentMode()
DeploymentModepublic DescribeBrokerResult withDeploymentMode(String deploymentMode)
deploymentMode - Required. The deployment mode of the broker.DeploymentModepublic DescribeBrokerResult withDeploymentMode(DeploymentMode deploymentMode)
deploymentMode - Required. The deployment mode of the broker.DeploymentModepublic void setEngineType(String engineType)
engineType - Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineTypepublic String getEngineType()
EngineTypepublic DescribeBrokerResult withEngineType(String engineType)
engineType - Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineTypepublic DescribeBrokerResult withEngineType(EngineType engineType)
engineType - Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineTypepublic 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 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 - Required. The list of rules (1 minimum, 125 maximum) that authorize 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 - Required. The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.public DescribeBrokerResult withSecurityGroups(Collection<String> securityGroups)
securityGroups - Required. The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.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 ObjectObject.toString()public DescribeBrokerResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.