@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBrokerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a broker using the specified properties.
NOOP
Constructor and Description |
---|
CreateBrokerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBrokerRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateBrokerRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateBrokerRequest |
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 |
getBrokerName()
Required.
|
ConfigurationId |
getConfiguration()
A list of information about the configuration.
|
String |
getCreatorRequestId()
The unique ID that the requester receives for the created broker.
|
String |
getDeploymentMode()
Required.
|
EncryptionOptions |
getEncryptionOptions()
Encryption options for the broker.
|
String |
getEngineType()
Required.
|
String |
getEngineVersion()
Required.
|
String |
getHostInstanceType()
Required.
|
LdapServerMetadataInput |
getLdapServerMetadata()
Optional.
|
Logs |
getLogs()
Enables Amazon CloudWatch logging for brokers.
|
WeeklyStartTime |
getMaintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
Boolean |
getPubliclyAccessible()
Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
List<String> |
getSecurityGroups()
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
String |
getStorageType()
The broker's storage type.
|
List<String> |
getSubnetIds()
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
|
Map<String,String> |
getTags()
Create tags when creating the broker.
|
List<User> |
getUsers()
Required.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
Boolean |
isPubliclyAccessible()
Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
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 |
setBrokerName(String brokerName)
Required.
|
void |
setConfiguration(ConfigurationId configuration)
A list of information about the configuration.
|
void |
setCreatorRequestId(String creatorRequestId)
The unique ID that the requester receives for the created broker.
|
void |
setDeploymentMode(String deploymentMode)
Required.
|
void |
setEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker.
|
void |
setEngineType(String engineType)
Required.
|
void |
setEngineVersion(String engineVersion)
Required.
|
void |
setHostInstanceType(String hostInstanceType)
Required.
|
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 |
setPubliclyAccessible(Boolean publiclyAccessible)
Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
void |
setStorageType(String storageType)
The broker's storage type.
|
void |
setSubnetIds(Collection<String> subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
|
void |
setTags(Map<String,String> tags)
Create tags when creating the broker.
|
void |
setUsers(Collection<User> users)
Required.
|
String |
toString()
Returns a string representation of this object.
|
CreateBrokerRequest |
withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional.
|
CreateBrokerRequest |
withAuthenticationStrategy(String authenticationStrategy)
Optional.
|
CreateBrokerRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
CreateBrokerRequest |
withBrokerName(String brokerName)
Required.
|
CreateBrokerRequest |
withConfiguration(ConfigurationId configuration)
A list of information about the configuration.
|
CreateBrokerRequest |
withCreatorRequestId(String creatorRequestId)
The unique ID that the requester receives for the created broker.
|
CreateBrokerRequest |
withDeploymentMode(DeploymentMode deploymentMode)
Required.
|
CreateBrokerRequest |
withDeploymentMode(String deploymentMode)
Required.
|
CreateBrokerRequest |
withEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker.
|
CreateBrokerRequest |
withEngineType(EngineType engineType)
Required.
|
CreateBrokerRequest |
withEngineType(String engineType)
Required.
|
CreateBrokerRequest |
withEngineVersion(String engineVersion)
Required.
|
CreateBrokerRequest |
withHostInstanceType(String hostInstanceType)
Required.
|
CreateBrokerRequest |
withLdapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
Optional.
|
CreateBrokerRequest |
withLogs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
|
CreateBrokerRequest |
withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
CreateBrokerRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
CreateBrokerRequest |
withSecurityGroups(Collection<String> securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
CreateBrokerRequest |
withSecurityGroups(String... securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
CreateBrokerRequest |
withStorageType(BrokerStorageType storageType)
The broker's storage type.
|
CreateBrokerRequest |
withStorageType(String storageType)
The broker's storage type.
|
CreateBrokerRequest |
withSubnetIds(Collection<String> subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
|
CreateBrokerRequest |
withSubnetIds(String... subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
|
CreateBrokerRequest |
withTags(Map<String,String> tags)
Create tags when creating the broker.
|
CreateBrokerRequest |
withUsers(Collection<User> users)
Required.
|
CreateBrokerRequest |
withUsers(User... users)
Required.
|
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 CreateBrokerRequest 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 CreateBrokerRequest 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. Set to true by default, if no value is specified.
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. Set to true by default, if no value is specified.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. Set to true by default, if no value is specified.
public CreateBrokerRequest 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. Set to true by default, if no value is specified.
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. Set to true by default, if no value is specified.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. Set to true by default, if no value is specified.
public void setBrokerName(String brokerName)
Required. The broker's name. 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 white spaces, brackets, wildcard characters, or special characters.
brokerName
- Required. The broker's name. 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 white spaces, brackets,
wildcard characters, or special characters.public String getBrokerName()
Required. The broker's name. 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 white spaces, brackets, wildcard characters, or special characters.
public CreateBrokerRequest withBrokerName(String brokerName)
Required. The broker's name. 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 white spaces, brackets, wildcard characters, or special characters.
brokerName
- Required. The broker's name. 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 white spaces, brackets,
wildcard characters, or special characters.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 CreateBrokerRequest withConfiguration(ConfigurationId configuration)
A list of information about the configuration.
configuration
- A list of information about the configuration.public void setCreatorRequestId(String creatorRequestId)
The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.
creatorRequestId
- The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API
action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may
omit the creatorRequestId if your application doesn't require idempotency.public String getCreatorRequestId()
The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.
public CreateBrokerRequest withCreatorRequestId(String creatorRequestId)
The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.
creatorRequestId
- The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API
action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may
omit the creatorRequestId if your application doesn't require idempotency.public void setDeploymentMode(String deploymentMode)
Required. The broker's deployment mode.
deploymentMode
- Required. The broker's deployment mode.DeploymentMode
public String getDeploymentMode()
Required. The broker's deployment mode.
DeploymentMode
public CreateBrokerRequest withDeploymentMode(String deploymentMode)
Required. The broker's deployment mode.
deploymentMode
- Required. The broker's deployment mode.DeploymentMode
public CreateBrokerRequest withDeploymentMode(DeploymentMode deploymentMode)
Required. The broker's deployment mode.
deploymentMode
- Required. The broker's deployment mode.DeploymentMode
public void setEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker. Does not apply to RabbitMQ brokers.
encryptionOptions
- Encryption options for the broker. Does not apply to RabbitMQ brokers.public EncryptionOptions getEncryptionOptions()
Encryption options for the broker. Does not apply to RabbitMQ brokers.
public CreateBrokerRequest withEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker. Does not apply to RabbitMQ brokers.
encryptionOptions
- Encryption options for the broker. Does not apply to RabbitMQ brokers.public void setEngineType(String engineType)
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public String getEngineType()
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
EngineType
public CreateBrokerRequest withEngineType(String engineType)
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public CreateBrokerRequest withEngineType(EngineType engineType)
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public void setEngineVersion(String engineVersion)
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
engineVersion
- Required. The broker engine's version. For a list of supported engine versions, see Supported
engines.public String getEngineVersion()
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
public CreateBrokerRequest withEngineVersion(String engineVersion)
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
engineVersion
- Required. The broker engine's version. For a list of supported engine versions, see Supported
engines.public void setHostInstanceType(String hostInstanceType)
Required. The broker's instance type.
hostInstanceType
- Required. The broker's instance type.public String getHostInstanceType()
Required. The broker's instance type.
public CreateBrokerRequest withHostInstanceType(String hostInstanceType)
Required. The broker's instance type.
hostInstanceType
- Required. The broker's instance type.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 CreateBrokerRequest 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 CreateBrokerRequest 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 CreateBrokerRequest withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public void setPubliclyAccessible(Boolean publiclyAccessible)
Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
publiclyAccessible
- Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by
default, if no value is provided.public Boolean getPubliclyAccessible()
Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
public CreateBrokerRequest withPubliclyAccessible(Boolean publiclyAccessible)
Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
publiclyAccessible
- Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by
default, if no value is provided.public Boolean isPubliclyAccessible()
Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
public List<String> getSecurityGroups()
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
public void setSecurityGroups(Collection<String> securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
securityGroups
- The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.public CreateBrokerRequest withSecurityGroups(String... securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize 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 rules (1 minimum, 125 maximum) that authorize connections to brokers.public CreateBrokerRequest withSecurityGroups(Collection<String> securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
securityGroups
- The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.public void setStorageType(String storageType)
The broker's storage type.
storageType
- The broker's storage type.BrokerStorageType
public String getStorageType()
The broker's storage type.
BrokerStorageType
public CreateBrokerRequest withStorageType(String storageType)
The broker's storage type.
storageType
- The broker's storage type.BrokerStorageType
public CreateBrokerRequest withStorageType(BrokerStorageType storageType)
The broker's storage type.
storageType
- The broker's storage type.BrokerStorageType
public List<String> getSubnetIds()
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet.
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
public void setSubnetIds(Collection<String> subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet.
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
subnetIds
- The list of groups that define which subnets and IP ranges the broker can use from different Availability
Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ
will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability
Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An
ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon
MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment
without public accessibility requires at least one subnet. If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
public CreateBrokerRequest withSubnetIds(String... subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet.
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
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 that define which subnets and IP ranges the broker can use from different Availability
Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ
will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability
Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An
ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon
MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment
without public accessibility requires at least one subnet. If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
public CreateBrokerRequest withSubnetIds(Collection<String> subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet.
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
subnetIds
- The list of groups that define which subnets and IP ranges the broker can use from different Availability
Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ
will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability
Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An
ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon
MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment
without public accessibility requires at least one subnet. If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
public Map<String,String> getTags()
Create tags when creating the broker.
public void setTags(Map<String,String> tags)
Create tags when creating the broker.
tags
- Create tags when creating the broker.public CreateBrokerRequest withTags(Map<String,String> tags)
Create tags when creating the broker.
tags
- Create tags when creating the broker.public CreateBrokerRequest addTagsEntry(String key, String value)
public CreateBrokerRequest clearTagsEntries()
public List<User> getUsers()
Required. The list of broker users (persons or applications) who can access queues and topics. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
public void setUsers(Collection<User> users)
Required. The list of broker users (persons or applications) who can access queues and topics. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
users
- Required. The list of broker users (persons or applications) who can access queues and topics. This value
can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value
must be 2-100 characters long. When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
public CreateBrokerRequest withUsers(User... users)
Required. The list of broker users (persons or applications) who can access queues and topics. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
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
- Required. The list of broker users (persons or applications) who can access queues and topics. This value
can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value
must be 2-100 characters long. When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
public CreateBrokerRequest withUsers(Collection<User> users)
Required. The list of broker users (persons or applications) who can access queues and topics. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
users
- Required. The list of broker users (persons or applications) who can access queues and topics. This value
can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value
must be 2-100 characters long. When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
public String toString()
toString
in class Object
Object.toString()
public CreateBrokerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()