@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBrokerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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()
The authentication strategy used to secure the broker.
|
Boolean |
getAutoMinorVersionUpgrade()
Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
|
String |
getBrokerId()
The unique ID that Amazon MQ generates for the broker.
|
ConfigurationId |
getConfiguration()
A list of information about the configuration.
|
String |
getEngineVersion()
The version of the broker engine.
|
String |
getHostInstanceType()
The host instance type of the broker to upgrade to.
|
LdapServerMetadataInput |
getLdapServerMetadata()
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
|
Logs |
getLogs()
Enables Amazon CloudWatch logging for brokers.
|
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 Apache releases the versions.
|
void |
setAuthenticationStrategy(String authenticationStrategy)
The authentication strategy used to secure the broker.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
|
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 version of the broker engine.
|
void |
setHostInstanceType(String hostInstanceType)
The host instance type of the broker to upgrade to.
|
void |
setLdapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
|
void |
setLogs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
|
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)
The authentication strategy used to secure the broker.
|
UpdateBrokerRequest |
withAuthenticationStrategy(String authenticationStrategy)
The authentication strategy used to secure the broker.
|
UpdateBrokerRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
|
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 version of the broker engine.
|
UpdateBrokerRequest |
withHostInstanceType(String hostInstanceType)
The host instance type of the broker to upgrade to.
|
UpdateBrokerRequest |
withLdapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
|
UpdateBrokerRequest |
withLogs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
|
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)
authenticationStrategy
- The authentication strategy used to secure the broker.AuthenticationStrategy
public String getAuthenticationStrategy()
AuthenticationStrategy
public UpdateBrokerRequest withAuthenticationStrategy(String authenticationStrategy)
authenticationStrategy
- The authentication strategy used to secure the broker.AuthenticationStrategy
public UpdateBrokerRequest withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
authenticationStrategy
- The authentication strategy used to secure the broker.AuthenticationStrategy
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- 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 UpdateBrokerRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- 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 setBrokerId(String brokerId)
brokerId
- The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public UpdateBrokerRequest withBrokerId(String brokerId)
brokerId
- The unique ID that Amazon MQ generates for the broker.public void setConfiguration(ConfigurationId configuration)
configuration
- A list of information about the configuration.public ConfigurationId getConfiguration()
public UpdateBrokerRequest withConfiguration(ConfigurationId configuration)
configuration
- A list of information about the configuration.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 UpdateBrokerRequest 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 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 UpdateBrokerRequest 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 setLdapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
ldapServerMetadata
- The metadata of the LDAP server used to authenticate and authorize connections to the broker.public LdapServerMetadataInput getLdapServerMetadata()
public UpdateBrokerRequest withLdapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
ldapServerMetadata
- The metadata of the LDAP server used to authenticate and authorize connections to the broker.public void setLogs(Logs logs)
logs
- Enables Amazon CloudWatch logging for brokers.public Logs getLogs()
public UpdateBrokerRequest withLogs(Logs logs)
logs
- Enables Amazon CloudWatch logging for brokers.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 UpdateBrokerRequest 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 UpdateBrokerRequest 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 UpdateBrokerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()