@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 patch 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 |
getDataReplicationMode()
Defines whether this broker is a part of a data replication pair.
|
String |
getDataReplicationPrimaryBrokerArn()
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication
pair, and is applied to the replica broker.
|
String |
getDeploymentMode()
Required.
|
EncryptionOptions |
getEncryptionOptions()
Encryption options for the broker.
|
String |
getEngineType()
Required.
|
String |
getEngineVersion()
The broker engine version.
|
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()
The list of broker users (persons or applications) who can access queues and topics.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
Enables automatic upgrades to new patch 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 patch 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 |
setDataReplicationMode(String dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
|
void |
setDataReplicationPrimaryBrokerArn(String dataReplicationPrimaryBrokerArn)
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication
pair, and is applied to the replica broker.
|
void |
setDeploymentMode(String deploymentMode)
Required.
|
void |
setEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker.
|
void |
setEngineType(String engineType)
Required.
|
void |
setEngineVersion(String engineVersion)
The broker engine version.
|
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)
The list of broker users (persons or applications) who can access queues and topics.
|
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 patch 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 |
withDataReplicationMode(DataReplicationMode dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
|
CreateBrokerRequest |
withDataReplicationMode(String dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
|
CreateBrokerRequest |
withDataReplicationPrimaryBrokerArn(String dataReplicationPrimaryBrokerArn)
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication
pair, and is applied to the replica 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)
The broker engine version.
|
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)
The list of broker users (persons or applications) who can access queues and topics.
|
CreateBrokerRequest |
withUsers(User... users)
The list of broker users (persons or applications) who can access queues and topics.
|
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 patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
autoMinorVersionUpgrade
- Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by
Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker
reboot. Set to true by default, if no value is specified. Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
public Boolean getAutoMinorVersionUpgrade()
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
public CreateBrokerRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
autoMinorVersionUpgrade
- Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by
Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker
reboot. Set to true by default, if no value is specified. Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
public Boolean isAutoMinorVersionUpgrade()
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
public void setBrokerName(String brokerName)
Required. The broker's name. This value must be unique in your Amazon Web Services 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.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
brokerName
- Required. The broker's name. This value must be unique in your Amazon Web Services 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. Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
public String getBrokerName()
Required. The broker's name. This value must be unique in your Amazon Web Services 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.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
public CreateBrokerRequest withBrokerName(String brokerName)
Required. The broker's name. This value must be unique in your Amazon Web Services 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.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
brokerName
- Required. The broker's name. This value must be unique in your Amazon Web Services 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. Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
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.
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. 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.
We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.
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.
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. 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.
encryptionOptions
- Encryption options for the broker.public EncryptionOptions getEncryptionOptions()
Encryption options for the broker.
public CreateBrokerRequest withEncryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker.
encryptionOptions
- Encryption options for the broker.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)
The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
engineVersion
- The broker engine version. Defaults to the latest available version for the specified broker engine type.
For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.public String getEngineVersion()
The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
public CreateBrokerRequest withEngineVersion(String engineVersion)
The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
engineVersion
- The broker engine version. Defaults to the latest available version for the specified broker engine type.
For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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 Amazon Web Services account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your Amazon Web Services 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()
The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, 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)
The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, 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
- The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for
RabbitMQ brokers, 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)
The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, 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
- The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for
RabbitMQ brokers, 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)
The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, 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
- The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for
RabbitMQ brokers, 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 setDataReplicationMode(String dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
dataReplicationMode
- Defines whether this broker is a part of a data replication pair.DataReplicationMode
public String getDataReplicationMode()
Defines whether this broker is a part of a data replication pair.
DataReplicationMode
public CreateBrokerRequest withDataReplicationMode(String dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
dataReplicationMode
- Defines whether this broker is a part of a data replication pair.DataReplicationMode
public CreateBrokerRequest withDataReplicationMode(DataReplicationMode dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
dataReplicationMode
- Defines whether this broker is a part of a data replication pair.DataReplicationMode
public void setDataReplicationPrimaryBrokerArn(String dataReplicationPrimaryBrokerArn)
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to CRDR.
dataReplicationPrimaryBrokerArn
- The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data
replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to
CRDR.public String getDataReplicationPrimaryBrokerArn()
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to CRDR.
public CreateBrokerRequest withDataReplicationPrimaryBrokerArn(String dataReplicationPrimaryBrokerArn)
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to CRDR.
dataReplicationPrimaryBrokerArn
- The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data
replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to
CRDR.public String toString()
toString
in class Object
Object.toString()
public CreateBrokerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()