Interface BlueGreenDeploymentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BlueGreenDeploymentConfiguration.Builder,
,BlueGreenDeploymentConfiguration> SdkBuilder<BlueGreenDeploymentConfiguration.Builder,
,BlueGreenDeploymentConfiguration> SdkPojo
- Enclosing class:
BlueGreenDeploymentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentReadyOption
(Consumer<DeploymentReadyOption.Builder> deploymentReadyOption) Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.deploymentReadyOption
(DeploymentReadyOption deploymentReadyOption) Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.greenFleetProvisioningOption
(Consumer<GreenFleetProvisioningOption.Builder> greenFleetProvisioningOption) Information about how instances are provisioned for a replacement environment in a blue/green deployment.greenFleetProvisioningOption
(GreenFleetProvisioningOption greenFleetProvisioningOption) Information about how instances are provisioned for a replacement environment in a blue/green deployment.terminateBlueInstancesOnDeploymentSuccess
(Consumer<BlueInstanceTerminationOption.Builder> terminateBlueInstancesOnDeploymentSuccess) Information about whether to terminate instances in the original fleet during a blue/green deployment.terminateBlueInstancesOnDeploymentSuccess
(BlueInstanceTerminationOption terminateBlueInstancesOnDeploymentSuccess) Information about whether to terminate instances in the original fleet during a blue/green deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
terminateBlueInstancesOnDeploymentSuccess
BlueGreenDeploymentConfiguration.Builder terminateBlueInstancesOnDeploymentSuccess(BlueInstanceTerminationOption terminateBlueInstancesOnDeploymentSuccess) Information about whether to terminate instances in the original fleet during a blue/green deployment.
- Parameters:
terminateBlueInstancesOnDeploymentSuccess
- Information about whether to terminate instances in the original fleet during a blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminateBlueInstancesOnDeploymentSuccess
default BlueGreenDeploymentConfiguration.Builder terminateBlueInstancesOnDeploymentSuccess(Consumer<BlueInstanceTerminationOption.Builder> terminateBlueInstancesOnDeploymentSuccess) Information about whether to terminate instances in the original fleet during a blue/green deployment.
This is a convenience method that creates an instance of theBlueInstanceTerminationOption.Builder
avoiding the need to create one manually viaBlueInstanceTerminationOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toterminateBlueInstancesOnDeploymentSuccess(BlueInstanceTerminationOption)
.- Parameters:
terminateBlueInstancesOnDeploymentSuccess
- a consumer that will call methods onBlueInstanceTerminationOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentReadyOption
BlueGreenDeploymentConfiguration.Builder deploymentReadyOption(DeploymentReadyOption deploymentReadyOption) Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.
- Parameters:
deploymentReadyOption
- Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentReadyOption
default BlueGreenDeploymentConfiguration.Builder deploymentReadyOption(Consumer<DeploymentReadyOption.Builder> deploymentReadyOption) Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.
This is a convenience method that creates an instance of theDeploymentReadyOption.Builder
avoiding the need to create one manually viaDeploymentReadyOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentReadyOption(DeploymentReadyOption)
.- Parameters:
deploymentReadyOption
- a consumer that will call methods onDeploymentReadyOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
greenFleetProvisioningOption
BlueGreenDeploymentConfiguration.Builder greenFleetProvisioningOption(GreenFleetProvisioningOption greenFleetProvisioningOption) Information about how instances are provisioned for a replacement environment in a blue/green deployment.
- Parameters:
greenFleetProvisioningOption
- Information about how instances are provisioned for a replacement environment in a blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
greenFleetProvisioningOption
default BlueGreenDeploymentConfiguration.Builder greenFleetProvisioningOption(Consumer<GreenFleetProvisioningOption.Builder> greenFleetProvisioningOption) Information about how instances are provisioned for a replacement environment in a blue/green deployment.
This is a convenience method that creates an instance of theGreenFleetProvisioningOption.Builder
avoiding the need to create one manually viaGreenFleetProvisioningOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togreenFleetProvisioningOption(GreenFleetProvisioningOption)
.- Parameters:
greenFleetProvisioningOption
- a consumer that will call methods onGreenFleetProvisioningOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-