Interface PromoteRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PromoteRequest.Builder,,PromoteRequest> MqRequest.Builder,SdkBuilder<PromoteRequest.Builder,,PromoteRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PromoteRequest
public static interface PromoteRequest.Builder
extends MqRequest.Builder, SdkPojo, CopyableBuilder<PromoteRequest.Builder,PromoteRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID that Amazon MQ generates for the broker.The Promote mode requested.mode(PromoteMode mode) The Promote mode requested.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
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.
-
mode
The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER.
- Parameters:
mode- The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER.
- Parameters:
mode- The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
PromoteRequest.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.
-