public static interface CreateBrokerRequest.Builder extends MqRequest.Builder, SdkPojo, CopyableBuilder<CreateBrokerRequest.Builder,CreateBrokerRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateBrokerRequest.Builder |
authenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional.
|
CreateBrokerRequest.Builder |
authenticationStrategy(String authenticationStrategy)
Optional.
|
CreateBrokerRequest.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
CreateBrokerRequest.Builder |
brokerName(String brokerName)
Required.
|
CreateBrokerRequest.Builder |
configuration(ConfigurationId configuration)
A list of information about the configuration.
|
default CreateBrokerRequest.Builder |
configuration(Consumer<ConfigurationId.Builder> configuration)
A list of information about the configuration.
|
CreateBrokerRequest.Builder |
creatorRequestId(String creatorRequestId)
The unique ID that the requester receives for the created broker.
|
CreateBrokerRequest.Builder |
deploymentMode(DeploymentMode deploymentMode)
Required.
|
CreateBrokerRequest.Builder |
deploymentMode(String deploymentMode)
Required.
|
default CreateBrokerRequest.Builder |
encryptionOptions(Consumer<EncryptionOptions.Builder> encryptionOptions)
Encryption options for the broker.
|
CreateBrokerRequest.Builder |
encryptionOptions(EncryptionOptions encryptionOptions)
Encryption options for the broker.
|
CreateBrokerRequest.Builder |
engineType(EngineType engineType)
Required.
|
CreateBrokerRequest.Builder |
engineType(String engineType)
Required.
|
CreateBrokerRequest.Builder |
engineVersion(String engineVersion)
Required.
|
CreateBrokerRequest.Builder |
hostInstanceType(String hostInstanceType)
Required.
|
default CreateBrokerRequest.Builder |
ldapServerMetadata(Consumer<LdapServerMetadataInput.Builder> ldapServerMetadata)
Optional.
|
CreateBrokerRequest.Builder |
ldapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
Optional.
|
default CreateBrokerRequest.Builder |
logs(Consumer<Logs.Builder> logs)
Enables Amazon CloudWatch logging for brokers.
|
CreateBrokerRequest.Builder |
logs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
|
default CreateBrokerRequest.Builder |
maintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
CreateBrokerRequest.Builder |
maintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
CreateBrokerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateBrokerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateBrokerRequest.Builder |
publiclyAccessible(Boolean publiclyAccessible)
Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
CreateBrokerRequest.Builder |
securityGroups(Collection<String> securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
CreateBrokerRequest.Builder |
securityGroups(String... securityGroups)
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
CreateBrokerRequest.Builder |
storageType(BrokerStorageType storageType)
The broker's storage type.
|
CreateBrokerRequest.Builder |
storageType(String storageType)
The broker's storage type.
|
CreateBrokerRequest.Builder |
subnetIds(Collection<String> subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability
Zones.
|
CreateBrokerRequest.Builder |
subnetIds(String... subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability
Zones.
|
CreateBrokerRequest.Builder |
tags(Map<String,String> tags)
Create tags when creating the broker.
|
CreateBrokerRequest.Builder |
users(Collection<User> users)
Required.
|
CreateBrokerRequest.Builder |
users(Consumer<User.Builder>... users)
Required.
|
CreateBrokerRequest.Builder |
users(User... users)
Required.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateBrokerRequest.Builder authenticationStrategy(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,
AuthenticationStrategyCreateBrokerRequest.Builder authenticationStrategy(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,
AuthenticationStrategyCreateBrokerRequest.Builder autoMinorVersionUpgrade(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.CreateBrokerRequest.Builder brokerName(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.CreateBrokerRequest.Builder configuration(ConfigurationId configuration)
A list of information about the configuration.
configuration - A list of information about the configuration.default CreateBrokerRequest.Builder configuration(Consumer<ConfigurationId.Builder> configuration)
A list of information about the configuration.
This is a convenience method that creates an instance of theConfigurationId.Builder avoiding the
need to create one manually via ConfigurationId.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to configuration(ConfigurationId).
configuration - a consumer that will call methods on ConfigurationId.Builderconfiguration(ConfigurationId)CreateBrokerRequest.Builder creatorRequestId(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.CreateBrokerRequest.Builder deploymentMode(String deploymentMode)
Required. The broker's deployment mode.
deploymentMode - Required. The broker's deployment mode.DeploymentMode,
DeploymentModeCreateBrokerRequest.Builder deploymentMode(DeploymentMode deploymentMode)
Required. The broker's deployment mode.
deploymentMode - Required. The broker's deployment mode.DeploymentMode,
DeploymentModeCreateBrokerRequest.Builder encryptionOptions(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.default CreateBrokerRequest.Builder encryptionOptions(Consumer<EncryptionOptions.Builder> encryptionOptions)
Encryption options for the broker. Does not apply to RabbitMQ brokers.
This is a convenience method that creates an instance of theEncryptionOptions.Builder avoiding the
need to create one manually via EncryptionOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to encryptionOptions(EncryptionOptions).
encryptionOptions - a consumer that will call methods on EncryptionOptions.BuilderencryptionOptions(EncryptionOptions)CreateBrokerRequest.Builder engineType(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,
EngineTypeCreateBrokerRequest.Builder engineType(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,
EngineTypeCreateBrokerRequest.Builder engineVersion(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.CreateBrokerRequest.Builder hostInstanceType(String hostInstanceType)
Required. The broker's instance type.
hostInstanceType - Required. The broker's instance type.CreateBrokerRequest.Builder ldapServerMetadata(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.default CreateBrokerRequest.Builder ldapServerMetadata(Consumer<LdapServerMetadataInput.Builder> ldapServerMetadata)
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
This is a convenience method that creates an instance of theLdapServerMetadataInput.Builder avoiding
the need to create one manually via LdapServerMetadataInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to ldapServerMetadata(LdapServerMetadataInput).
ldapServerMetadata - a consumer that will call methods on LdapServerMetadataInput.BuilderldapServerMetadata(LdapServerMetadataInput)CreateBrokerRequest.Builder logs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
logs - Enables Amazon CloudWatch logging for brokers.default CreateBrokerRequest.Builder logs(Consumer<Logs.Builder> logs)
Enables Amazon CloudWatch logging for brokers.
This is a convenience method that creates an instance of theLogs.Builder avoiding the need to create
one manually via Logs.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to logs(Logs).
logs - a consumer that will call methods on Logs.Builderlogs(Logs)CreateBrokerRequest.Builder maintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
maintenanceWindowStartTime - The parameters that determine the WeeklyStartTime.default CreateBrokerRequest.Builder maintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
This is a convenience method that creates an instance of theWeeklyStartTime.Builder avoiding the
need to create one manually via WeeklyStartTime.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to maintenanceWindowStartTime(WeeklyStartTime).
maintenanceWindowStartTime - a consumer that will call methods on WeeklyStartTime.BuildermaintenanceWindowStartTime(WeeklyStartTime)CreateBrokerRequest.Builder publiclyAccessible(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.CreateBrokerRequest.Builder securityGroups(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.CreateBrokerRequest.Builder securityGroups(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.CreateBrokerRequest.Builder storageType(String storageType)
The broker's storage type.
storageType - The broker's storage type.BrokerStorageType,
BrokerStorageTypeCreateBrokerRequest.Builder storageType(BrokerStorageType storageType)
The broker's storage type.
storageType - The broker's storage type.BrokerStorageType,
BrokerStorageTypeCreateBrokerRequest.Builder subnetIds(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.
CreateBrokerRequest.Builder subnetIds(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.
CreateBrokerRequest.Builder tags(Map<String,String> tags)
Create tags when creating the broker.
tags - Create tags when creating the broker.CreateBrokerRequest.Builder users(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.
CreateBrokerRequest.Builder users(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.
CreateBrokerRequest.Builder users(Consumer<User.Builder>... 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.
User.Builder avoiding the need to create one manually via
User.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #users(List.
users - a consumer that will call methods on User.Builder#users(java.util.Collection) CreateBrokerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateBrokerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.