Interface UpdateBrokerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBrokerRequest.Builder,,UpdateBrokerRequest> MqRequest.Builder,SdkBuilder<UpdateBrokerRequest.Builder,,UpdateBrokerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBrokerRequest
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationStrategy(String authenticationStrategy) Optional.authenticationStrategy(AuthenticationStrategy authenticationStrategy) Optional.autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ.The unique ID that Amazon MQ generates for the broker.default UpdateBrokerRequest.Builderconfiguration(Consumer<ConfigurationId.Builder> configuration) A list of information about the configuration.configuration(ConfigurationId configuration) A list of information about the configuration.dataReplicationMode(String dataReplicationMode) Defines whether this broker is a part of a data replication pair.dataReplicationMode(DataReplicationMode dataReplicationMode) Defines whether this broker is a part of a data replication pair.engineVersion(String engineVersion) The broker engine version.hostInstanceType(String hostInstanceType) The broker's host instance type to upgrade to.default UpdateBrokerRequest.BuilderldapServerMetadata(Consumer<LdapServerMetadataInput.Builder> ldapServerMetadata) Optional.ldapServerMetadata(LdapServerMetadataInput ldapServerMetadata) Optional.default UpdateBrokerRequest.Builderlogs(Consumer<Logs.Builder> logs) Enables Amazon CloudWatch logging for brokers.Enables Amazon CloudWatch logging for brokers.default UpdateBrokerRequest.BuildermaintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.maintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.securityGroups(String... securityGroups) The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.securityGroups(Collection<String> securityGroups) The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mq.model.MqRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authenticationStrategy
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
- Parameters:
authenticationStrategy- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationStrategy
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
- Parameters:
authenticationStrategy- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
- Parameters:
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.Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
- 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.
-
configuration
A list of information about the configuration.
- Parameters:
configuration- A list of information about the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
A list of information about the configuration.
This is a convenience method that creates an instance of theConfigurationId.Builderavoiding the need to create one manually viaConfigurationId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ConfigurationId).- Parameters:
configuration- a consumer that will call methods onConfigurationId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineVersion
The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
When upgrading to ActiveMQ version 5.18 and above or RabbitMQ version 3.13 and above, you must have autoMinorVersionUpgrade set to true for the broker.
- Parameters:
engineVersion- The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.When upgrading to ActiveMQ version 5.18 and above or RabbitMQ version 3.13 and above, you must have autoMinorVersionUpgrade set to true for the broker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostInstanceType
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
- Parameters:
hostInstanceType- The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldapServerMetadata
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
- Parameters:
ldapServerMetadata- Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldapServerMetadata
default UpdateBrokerRequest.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.Builderavoiding the need to create one manually viaLdapServerMetadataInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toldapServerMetadata(LdapServerMetadataInput).- Parameters:
ldapServerMetadata- a consumer that will call methods onLdapServerMetadataInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logs
Enables Amazon CloudWatch logging for brokers.
- Parameters:
logs- Enables Amazon CloudWatch logging for brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
Enables Amazon CloudWatch logging for brokers.
This is a convenience method that creates an instance of theLogs.Builderavoiding the need to create one manually viaLogs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologs(Logs).- Parameters:
logs- a consumer that will call methods onLogs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceWindowStartTime
The parameters that determine the WeeklyStartTime.
- Parameters:
maintenanceWindowStartTime- The parameters that determine the WeeklyStartTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindowStartTime
default UpdateBrokerRequest.Builder maintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.
This is a convenience method that creates an instance of theWeeklyStartTime.Builderavoiding the need to create one manually viaWeeklyStartTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaintenanceWindowStartTime(WeeklyStartTime).- Parameters:
maintenanceWindowStartTime- a consumer that will call methods onWeeklyStartTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityGroups
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
- Parameters:
securityGroups- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
- Parameters:
securityGroups- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationMode
Defines whether this broker is a part of a data replication pair.
- Parameters:
dataReplicationMode- Defines whether this broker is a part of a data replication pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataReplicationMode
Defines whether this broker is a part of a data replication pair.
- Parameters:
dataReplicationMode- Defines whether this broker is a part of a data replication pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateBrokerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBrokerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-