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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.mq.model.MqRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
authenticationStrategyOptional. 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:
 
- 
authenticationStrategyOptional. 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:
 
- 
autoMinorVersionUpgradeEnables 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.
 
- 
brokerIdThe 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.
 
- 
configurationA 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.
 
- 
configurationA 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 on- ConfigurationId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
engineVersionThe 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.
 
- 
hostInstanceTypeThe 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.
 
- 
ldapServerMetadataOptional. 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.
 
- 
ldapServerMetadatadefault 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 on- LdapServerMetadataInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
logsEnables 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.
 
- 
logsEnables 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 on- Logs.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
maintenanceWindowStartTimeThe 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.
 
- 
maintenanceWindowStartTimedefault 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 on- WeeklyStartTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
securityGroupsThe 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.
 
- 
securityGroupsThe 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.
 
- 
dataReplicationModeDefines 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:
 
- 
dataReplicationModeDefines 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:
 
- 
overrideConfigurationUpdateBrokerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateBrokerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-