Interface AwsAmazonMqBrokerDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsAmazonMqBrokerDetails.Builder,
,AwsAmazonMqBrokerDetails> SdkBuilder<AwsAmazonMqBrokerDetails.Builder,
,AwsAmazonMqBrokerDetails> SdkPojo
- Enclosing class:
AwsAmazonMqBrokerDetails
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationStrategy
(String authenticationStrategy) The authentication strategy used to secure the broker.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) Whether automatically upgrade new minor versions for brokers, as new versions are released and supported by Amazon MQ.The Amazon Resource Name (ARN) of the broker.The unique ID that Amazon MQ generates for the broker.brokerName
(String brokerName) The broker's name.deploymentMode
(String deploymentMode) The broker's deployment mode.default AwsAmazonMqBrokerDetails.Builder
encryptionOptions
(Consumer<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder> encryptionOptions) Encryption options for the broker.encryptionOptions
(AwsAmazonMqBrokerEncryptionOptionsDetails encryptionOptions) Encryption options for the broker.engineType
(String engineType) The type of broker engine.engineVersion
(String engineVersion) The version of the broker engine.hostInstanceType
(String hostInstanceType) The broker's instance type.default AwsAmazonMqBrokerDetails.Builder
ldapServerMetadata
(Consumer<AwsAmazonMqBrokerLdapServerMetadataDetails.Builder> ldapServerMetadata) The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker.ldapServerMetadata
(AwsAmazonMqBrokerLdapServerMetadataDetails ldapServerMetadata) The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker.default AwsAmazonMqBrokerDetails.Builder
Turns on Amazon CloudWatch logging for brokers.Turns on Amazon CloudWatch logging for brokers.default AwsAmazonMqBrokerDetails.Builder
maintenanceWindowStartTime
(Consumer<AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builder> maintenanceWindowStartTime) The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.maintenanceWindowStartTime
(AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails maintenanceWindowStartTime) The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.publiclyAccessible
(Boolean publiclyAccessible) Permits connections from applications outside of the VPC that hosts the broker's subnets.securityGroups
(String... securityGroups) The list of rules (one minimum, 125 maximum) that authorize connections to brokers.securityGroups
(Collection<String> securityGroups) The list of rules (one minimum, 125 maximum) that authorize connections to brokers.storageType
(String storageType) The broker's storage type.The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.subnetIds
(Collection<String> subnetIds) The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.The list of all broker usernames for the specified broker.users
(Consumer<AwsAmazonMqBrokerUsersDetails.Builder>... users) The list of all broker usernames for the specified broker.users
(AwsAmazonMqBrokerUsersDetails... users) The list of all broker usernames for the specified broker.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authenticationStrategy
The authentication strategy used to secure the broker. The default is
SIMPLE
.- Parameters:
authenticationStrategy
- The authentication strategy used to secure the broker. The default isSIMPLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMinorVersionUpgrade
Whether automatically upgrade 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.
- Parameters:
autoMinorVersionUpgrade
- Whether automatically upgrade 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerArn
The Amazon Resource Name (ARN) of the broker.
- Parameters:
brokerArn
- The Amazon Resource Name (ARN) of the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerName
The broker's name.
- Parameters:
brokerName
- The broker's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentMode
The broker's deployment mode.
- Parameters:
deploymentMode
- The broker's deployment mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionOptions
AwsAmazonMqBrokerDetails.Builder encryptionOptions(AwsAmazonMqBrokerEncryptionOptionsDetails encryptionOptions) Encryption options for the broker. Doesn’t apply to RabbitMQ brokers.
- Parameters:
encryptionOptions
- Encryption options for the broker. Doesn’t apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionOptions
default AwsAmazonMqBrokerDetails.Builder encryptionOptions(Consumer<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder> encryptionOptions) Encryption options for the broker. Doesn’t apply to RabbitMQ brokers.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerEncryptionOptionsDetails.Builder
avoiding the need to create one manually viaAwsAmazonMqBrokerEncryptionOptionsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionOptions(AwsAmazonMqBrokerEncryptionOptionsDetails)
.- Parameters:
encryptionOptions
- a consumer that will call methods onAwsAmazonMqBrokerEncryptionOptionsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineType
The type of broker engine.
- Parameters:
engineType
- The type of broker engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The version of the broker engine.
- Parameters:
engineVersion
- The version of the broker engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostInstanceType
The broker's instance type.
- Parameters:
hostInstanceType
- The broker's instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerId
The unique ID that Amazon MQ generates for the broker.
- Parameters:
brokerId
- The unique ID that Amazon MQ generates for the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldapServerMetadata
AwsAmazonMqBrokerDetails.Builder ldapServerMetadata(AwsAmazonMqBrokerLdapServerMetadataDetails ldapServerMetadata) The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.
- Parameters:
ldapServerMetadata
- The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldapServerMetadata
default AwsAmazonMqBrokerDetails.Builder ldapServerMetadata(Consumer<AwsAmazonMqBrokerLdapServerMetadataDetails.Builder> ldapServerMetadata) The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerLdapServerMetadataDetails.Builder
avoiding the need to create one manually viaAwsAmazonMqBrokerLdapServerMetadataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toldapServerMetadata(AwsAmazonMqBrokerLdapServerMetadataDetails)
.- Parameters:
ldapServerMetadata
- a consumer that will call methods onAwsAmazonMqBrokerLdapServerMetadataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logs
Turns on Amazon CloudWatch logging for brokers.
- Parameters:
logs
- Turns on Amazon CloudWatch logging for brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
Turns on Amazon CloudWatch logging for brokers.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerLogsDetails.Builder
avoiding the need to create one manually viaAwsAmazonMqBrokerLogsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologs(AwsAmazonMqBrokerLogsDetails)
.- Parameters:
logs
- a consumer that will call methods onAwsAmazonMqBrokerLogsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceWindowStartTime
AwsAmazonMqBrokerDetails.Builder maintenanceWindowStartTime(AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails maintenanceWindowStartTime) The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.
- Parameters:
maintenanceWindowStartTime
- The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindowStartTime
default AwsAmazonMqBrokerDetails.Builder maintenanceWindowStartTime(Consumer<AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builder> maintenanceWindowStartTime) The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builder
avoiding the need to create one manually viaAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenanceWindowStartTime(AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails)
.- Parameters:
maintenanceWindowStartTime
- a consumer that will call methods onAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publiclyAccessible
Permits connections from applications outside of the VPC that hosts the broker's subnets.
- Parameters:
publiclyAccessible
- Permits connections from applications outside of the VPC that hosts the broker's subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The list of rules (one minimum, 125 maximum) that authorize connections to brokers.
- Parameters:
securityGroups
- The list of rules (one minimum, 125 maximum) that authorize connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The list of rules (one minimum, 125 maximum) that authorize connections to brokers.
- Parameters:
securityGroups
- The list of rules (one minimum, 125 maximum) that authorize connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
The broker's storage type.
- Parameters:
storageType
- The broker's storage type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
- Parameters:
subnetIds
- The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
- Parameters:
subnetIds
- The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.
- Parameters:
users
- The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.
- Parameters:
users
- The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerUsersDetails.Builder
avoiding the need to create one manually viaAwsAmazonMqBrokerUsersDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<AwsAmazonMqBrokerUsersDetails>)
.- Parameters:
users
- a consumer that will call methods onAwsAmazonMqBrokerUsersDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-