Interface DeploymentStrategyOverrideOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentStrategyOverrideOptions.Builder,,DeploymentStrategyOverrideOptions> SdkBuilder<DeploymentStrategyOverrideOptions.Builder,,DeploymentStrategyOverrideOptions> SdkPojo
- Enclosing class:
DeploymentStrategyOverrideOptions
-
Method Summary
Modifier and TypeMethodDescriptionclonedBlueGreenOptions(Consumer<ClonedBlueGreenOptions.Builder> clonedBlueGreenOptions) Options that apply whenDeploymentStrategyisClonedBlueGreen.clonedBlueGreenOptions(ClonedBlueGreenOptions clonedBlueGreenOptions) Options that apply whenDeploymentStrategyisClonedBlueGreen.deploymentStrategy(String deploymentStrategy) The deployment strategy to use for this operation.deploymentStrategy(DeploymentStrategyOverride deploymentStrategy) The deployment strategy to use for this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deploymentStrategy
The deployment strategy to use for this operation. The only valid value is
ClonedBlueGreen, which creates a cloned cluster on the target version next to the primary cluster so that you can validate it and shift traffic to it before you cut over.- Parameters:
deploymentStrategy- The deployment strategy to use for this operation. The only valid value isClonedBlueGreen, which creates a cloned cluster on the target version next to the primary cluster so that you can validate it and shift traffic to it before you cut over.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentStrategy
DeploymentStrategyOverrideOptions.Builder deploymentStrategy(DeploymentStrategyOverride deploymentStrategy) The deployment strategy to use for this operation. The only valid value is
ClonedBlueGreen, which creates a cloned cluster on the target version next to the primary cluster so that you can validate it and shift traffic to it before you cut over.- Parameters:
deploymentStrategy- The deployment strategy to use for this operation. The only valid value isClonedBlueGreen, which creates a cloned cluster on the target version next to the primary cluster so that you can validate it and shift traffic to it before you cut over.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clonedBlueGreenOptions
DeploymentStrategyOverrideOptions.Builder clonedBlueGreenOptions(ClonedBlueGreenOptions clonedBlueGreenOptions) Options that apply when
DeploymentStrategyisClonedBlueGreen.- Parameters:
clonedBlueGreenOptions- Options that apply whenDeploymentStrategyisClonedBlueGreen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clonedBlueGreenOptions
default DeploymentStrategyOverrideOptions.Builder clonedBlueGreenOptions(Consumer<ClonedBlueGreenOptions.Builder> clonedBlueGreenOptions) Options that apply when
This is a convenience method that creates an instance of theDeploymentStrategyisClonedBlueGreen.ClonedBlueGreenOptions.Builderavoiding the need to create one manually viaClonedBlueGreenOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclonedBlueGreenOptions(ClonedBlueGreenOptions).- Parameters:
clonedBlueGreenOptions- a consumer that will call methods onClonedBlueGreenOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-