public static interface UpdateBrokerRequest.Builder extends MqRequest.Builder, SdkPojo, CopyableBuilder<UpdateBrokerRequest.Builder,UpdateBrokerRequest>
Modifier and Type | Method and Description |
---|---|
UpdateBrokerRequest.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
|
UpdateBrokerRequest.Builder |
brokerId(String brokerId)
The name of the broker.
|
UpdateBrokerRequest.Builder |
configuration(ConfigurationId configuration)
A list of information about the configuration.
|
default UpdateBrokerRequest.Builder |
configuration(Consumer<ConfigurationId.Builder> configuration)
A list of information about the configuration.
|
UpdateBrokerRequest.Builder |
engineVersion(String engineVersion)
The version of the broker engine.
|
default UpdateBrokerRequest.Builder |
logs(Consumer<Logs.Builder> logs)
Enables Amazon CloudWatch logging for brokers.
|
UpdateBrokerRequest.Builder |
logs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
|
UpdateBrokerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateBrokerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateBrokerRequest.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions. The
automatic upgrades occur during the maintenance window of the broker or after a manual broker reboot.UpdateBrokerRequest.Builder brokerId(String brokerId)
brokerId
- The name of the broker. 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 whitespaces, brackets,
wildcard characters, or special characters.UpdateBrokerRequest.Builder configuration(ConfigurationId configuration)
configuration
- A list of information about the configuration.default UpdateBrokerRequest.Builder configuration(Consumer<ConfigurationId.Builder> configuration)
ConfigurationId.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.Builder
configuration(ConfigurationId)
UpdateBrokerRequest.Builder engineVersion(String engineVersion)
engineVersion
- The version of the broker engine. Note: Currently, Amazon MQ supports only 5.15.6 and 5.15.0.UpdateBrokerRequest.Builder logs(Logs logs)
logs
- Enables Amazon CloudWatch logging for brokers.default UpdateBrokerRequest.Builder logs(Consumer<Logs.Builder> logs)
Logs.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.Builder
logs(Logs)
UpdateBrokerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateBrokerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.