@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBrokerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateBrokerResult() |
Modifier and Type | Method and Description |
---|---|
UpdateBrokerResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoMinorVersionUpgrade()
The new value of automatic upgrades to new minor version for brokers.
|
String |
getBrokerId()
Required.
|
ConfigurationId |
getConfiguration()
The ID of the updated configuration.
|
String |
getEngineVersion()
The version of the broker engine to upgrade to.
|
String |
getHostInstanceType()
The host instance type of the broker to upgrade to.
|
Logs |
getLogs()
The list of information about logs to be enabled for the specified broker.
|
List<String> |
getSecurityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
The new value of automatic upgrades to new minor version for brokers.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
The new value of automatic upgrades to new minor version for brokers.
|
void |
setBrokerId(String brokerId)
Required.
|
void |
setConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
|
void |
setEngineVersion(String engineVersion)
The version of the broker engine to upgrade to.
|
void |
setHostInstanceType(String hostInstanceType)
The host instance type of the broker to upgrade to.
|
void |
setLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBrokerResult |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
The new value of automatic upgrades to new minor version for brokers.
|
UpdateBrokerResult |
withBrokerId(String brokerId)
Required.
|
UpdateBrokerResult |
withConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
|
UpdateBrokerResult |
withEngineVersion(String engineVersion)
The version of the broker engine to upgrade to.
|
UpdateBrokerResult |
withHostInstanceType(String hostInstanceType)
The host instance type of the broker to upgrade to.
|
UpdateBrokerResult |
withLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
|
UpdateBrokerResult |
withSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
UpdateBrokerResult |
withSecurityGroups(String... securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- The new value of automatic upgrades to new minor version for brokers.public Boolean getAutoMinorVersionUpgrade()
public UpdateBrokerResult withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- The new value of automatic upgrades to new minor version for brokers.public Boolean isAutoMinorVersionUpgrade()
public void setBrokerId(String brokerId)
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public UpdateBrokerResult withBrokerId(String brokerId)
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public void setConfiguration(ConfigurationId configuration)
configuration
- The ID of the updated configuration.public ConfigurationId getConfiguration()
public UpdateBrokerResult withConfiguration(ConfigurationId configuration)
configuration
- The ID of the updated configuration.public void setEngineVersion(String engineVersion)
engineVersion
- 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 getEngineVersion()
public UpdateBrokerResult withEngineVersion(String engineVersion)
engineVersion
- 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 setHostInstanceType(String hostInstanceType)
hostInstanceType
- 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 getHostInstanceType()
public UpdateBrokerResult withHostInstanceType(String hostInstanceType)
hostInstanceType
- 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 void setLogs(Logs logs)
logs
- The list of information about logs to be enabled for the specified broker.public Logs getLogs()
public UpdateBrokerResult withLogs(Logs logs)
logs
- The list of information about logs to be enabled for the specified broker.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 UpdateBrokerResult 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 UpdateBrokerResult withSecurityGroups(Collection<String> securityGroups)
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public String toString()
toString
in class Object
Object.toString()
public UpdateBrokerResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.