@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) |
String |
getAuthenticationStrategy()
Optional.
|
Boolean |
getAutoMinorVersionUpgrade()
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new
versions are released and supported by Amazon MQ.
|
String |
getBrokerId()
Required.
|
ConfigurationId |
getConfiguration()
The ID of the updated configuration.
|
String |
getEngineVersion()
The broker engine version to upgrade to.
|
String |
getHostInstanceType()
The broker's host instance type to upgrade to.
|
LdapServerMetadataOutput |
getLdapServerMetadata()
Optional.
|
Logs |
getLogs()
The list of information about logs to be enabled for the specified broker.
|
WeeklyStartTime |
getMaintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
List<String> |
getSecurityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new
versions are released and supported by Amazon MQ.
|
void |
setAuthenticationStrategy(String authenticationStrategy)
Optional.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new
versions are released and supported by Amazon MQ.
|
void |
setBrokerId(String brokerId)
Required.
|
void |
setConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
|
void |
setEngineVersion(String engineVersion)
The broker engine version to upgrade to.
|
void |
setHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to.
|
void |
setLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional.
|
void |
setLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
|
void |
setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
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 |
withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional.
|
UpdateBrokerResult |
withAuthenticationStrategy(String authenticationStrategy)
Optional.
|
UpdateBrokerResult |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new
versions are released and supported by Amazon MQ.
|
UpdateBrokerResult |
withBrokerId(String brokerId)
Required.
|
UpdateBrokerResult |
withConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
|
UpdateBrokerResult |
withEngineVersion(String engineVersion)
The broker engine version to upgrade to.
|
UpdateBrokerResult |
withHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to.
|
UpdateBrokerResult |
withLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional.
|
UpdateBrokerResult |
withLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
|
UpdateBrokerResult |
withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
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 setAuthenticationStrategy(String authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.AuthenticationStrategy
public String getAuthenticationStrategy()
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
AuthenticationStrategy
public UpdateBrokerResult withAuthenticationStrategy(String authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.AuthenticationStrategy
public UpdateBrokerResult withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.AuthenticationStrategy
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
autoMinorVersionUpgrade
- The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as
new versions are released and supported by Amazon MQ.public Boolean getAutoMinorVersionUpgrade()
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
public UpdateBrokerResult withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
autoMinorVersionUpgrade
- The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as
new versions are released and supported by Amazon MQ.public Boolean isAutoMinorVersionUpgrade()
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
public void setBrokerId(String brokerId)
Required. The unique ID that Amazon MQ generates for the broker.
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
Required. The unique ID that Amazon MQ generates for the broker.
public UpdateBrokerResult withBrokerId(String brokerId)
Required. The unique ID that Amazon MQ generates for the broker.
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public void setConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
configuration
- The ID of the updated configuration.public ConfigurationId getConfiguration()
The ID of the updated configuration.
public UpdateBrokerResult withConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
configuration
- The ID of the updated configuration.public void setEngineVersion(String engineVersion)
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
engineVersion
- The broker engine version to upgrade to. For a list of supported engine versions, see Supported
engines.public String getEngineVersion()
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
public UpdateBrokerResult withEngineVersion(String engineVersion)
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
engineVersion
- The broker engine version to upgrade to. For a list of supported engine versions, see Supported
engines.public void setHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.public String getHostInstanceType()
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
public UpdateBrokerResult withHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.public void setLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
ldapServerMetadata
- Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Does not apply to RabbitMQ brokers.public LdapServerMetadataOutput getLdapServerMetadata()
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
public UpdateBrokerResult withLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
ldapServerMetadata
- Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Does not apply to RabbitMQ brokers.public void setLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
logs
- The list of information about logs to be enabled for the specified broker.public Logs getLogs()
The list of information about logs to be enabled for the specified broker.
public UpdateBrokerResult withLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
logs
- The list of information about logs to be enabled for the specified broker.public void setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public WeeklyStartTime getMaintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
public UpdateBrokerResult withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public List<String> getSecurityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
public void setSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public UpdateBrokerResult withSecurityGroups(String... securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
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)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
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()