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 minor 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.Builder
configuration
(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.Builder
ldapServerMetadata
(Consumer<LdapServerMetadataInput.Builder> ldapServerMetadata) Optional.ldapServerMetadata
(LdapServerMetadataInput ldapServerMetadata) Optional.default UpdateBrokerRequest.Builder
logs
(Consumer<Logs.Builder> logs) Enables Amazon CloudWatch logging for brokers.Enables Amazon CloudWatch logging for brokers.default UpdateBrokerRequest.Builder
maintenanceWindowStartTime
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mq.model.MqRequest.Builder
build
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
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 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
- 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.- 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.Builder
avoiding the need to create one manually viaConfigurationId.builder()
.When the
Consumer
completes,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 a list of supported engine versions, see Supported engines.
- Parameters:
engineVersion
- The broker engine version. For a list of supported engine versions, see Supported engines.- 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.Builder
avoiding the need to create one manually viaLdapServerMetadataInput.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaLogs.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaWeeklyStartTime.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-