@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBrokerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates the broker using the specified properties.
NOOP
Constructor and Description |
---|
UpdateBrokerRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateBrokerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationStrategy()
Optional.
|
Boolean |
getAutoMinorVersionUpgrade()
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
String |
getBrokerId()
The unique ID that Amazon MQ generates for the broker.
|
ConfigurationId |
getConfiguration()
A list of information about the configuration.
|
String |
getEngineVersion()
The broker engine version.
|
String |
getHostInstanceType()
The broker's host instance type to upgrade to.
|
LdapServerMetadataInput |
getLdapServerMetadata()
Optional.
|
Logs |
getLogs()
Enables Amazon CloudWatch logging for brokers.
|
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()
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
void |
setAuthenticationStrategy(String authenticationStrategy)
Optional.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
void |
setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
void |
setConfiguration(ConfigurationId configuration)
A list of information about the configuration.
|
void |
setEngineVersion(String engineVersion)
The broker engine version.
|
void |
setHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to.
|
void |
setLdapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
Optional.
|
void |
setLogs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
|
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.
|
UpdateBrokerRequest |
withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional.
|
UpdateBrokerRequest |
withAuthenticationStrategy(String authenticationStrategy)
Optional.
|
UpdateBrokerRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
UpdateBrokerRequest |
withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
UpdateBrokerRequest |
withConfiguration(ConfigurationId configuration)
A list of information about the configuration.
|
UpdateBrokerRequest |
withEngineVersion(String engineVersion)
The broker engine version.
|
UpdateBrokerRequest |
withHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to.
|
UpdateBrokerRequest |
withLdapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
Optional.
|
UpdateBrokerRequest |
withLogs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
|
UpdateBrokerRequest |
withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
UpdateBrokerRequest |
withSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
UpdateBrokerRequest |
withSecurityGroups(String... securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 UpdateBrokerRequest 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 UpdateBrokerRequest 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)
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.
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 Boolean getAutoMinorVersionUpgrade()
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 UpdateBrokerRequest withAutoMinorVersionUpgrade(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.
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 Boolean isAutoMinorVersionUpgrade()
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 void setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
brokerId
- The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
The unique ID that Amazon MQ generates for the broker.
public UpdateBrokerRequest withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
brokerId
- The unique ID that Amazon MQ generates for the broker.public void setConfiguration(ConfigurationId configuration)
A list of information about the configuration.
configuration
- A list of information about the configuration.public ConfigurationId getConfiguration()
A list of information about the configuration.
public UpdateBrokerRequest withConfiguration(ConfigurationId configuration)
A list of information about the configuration.
configuration
- A list of information about the configuration.public void setEngineVersion(String engineVersion)
The broker engine version. For a list of supported engine versions, see Supported engines.
engineVersion
- The broker engine version. For a list of supported engine versions, see Supported
engines.public String getEngineVersion()
The broker engine version. For a list of supported engine versions, see Supported engines.
public UpdateBrokerRequest withEngineVersion(String engineVersion)
The broker engine version. For a list of supported engine versions, see Supported engines.
engineVersion
- The broker engine version. 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 UpdateBrokerRequest 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(LdapServerMetadataInput 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 LdapServerMetadataInput getLdapServerMetadata()
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
public UpdateBrokerRequest withLdapServerMetadata(LdapServerMetadataInput 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)
Enables Amazon CloudWatch logging for brokers.
logs
- Enables Amazon CloudWatch logging for brokers.public Logs getLogs()
Enables Amazon CloudWatch logging for brokers.
public UpdateBrokerRequest withLogs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
logs
- Enables Amazon CloudWatch logging for brokers.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 UpdateBrokerRequest 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 UpdateBrokerRequest 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 UpdateBrokerRequest 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 UpdateBrokerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()