Interface BlueGreenDeployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BlueGreenDeployment.Builder,
,BlueGreenDeployment> SdkBuilder<BlueGreenDeployment.Builder,
,BlueGreenDeployment> SdkPojo
- Enclosing class:
BlueGreenDeployment
-
Method Summary
Modifier and TypeMethodDescriptionblueGreenDeploymentIdentifier
(String blueGreenDeploymentIdentifier) The unique identifier of the blue/green deployment.blueGreenDeploymentName
(String blueGreenDeploymentName) The user-supplied name of the blue/green deployment.createTime
(Instant createTime) The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).deleteTime
(Instant deleteTime) The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).The source database for the blue/green deployment.The status of the blue/green deployment.statusDetails
(String statusDetails) Additional information about the status of the blue/green deployment.switchoverDetails
(Collection<SwitchoverDetail> switchoverDetails) The details about each source and target resource in the blue/green deployment.switchoverDetails
(Consumer<SwitchoverDetail.Builder>... switchoverDetails) The details about each source and target resource in the blue/green deployment.switchoverDetails
(SwitchoverDetail... switchoverDetails) The details about each source and target resource in the blue/green deployment.tagList
(Collection<Tag> tagList) Sets the value of the TagList property for this object.tagList
(Consumer<Tag.Builder>... tagList) Sets the value of the TagList property for this object.Sets the value of the TagList property for this object.The target database for the blue/green deployment.tasks
(Collection<BlueGreenDeploymentTask> tasks) Either tasks to be performed or tasks that have been completed on the target database before switchover.tasks
(Consumer<BlueGreenDeploymentTask.Builder>... tasks) Either tasks to be performed or tasks that have been completed on the target database before switchover.tasks
(BlueGreenDeploymentTask... tasks) Either tasks to be performed or tasks that have been completed on the target database before switchover.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
-
blueGreenDeploymentIdentifier
The unique identifier of the blue/green deployment.
- Parameters:
blueGreenDeploymentIdentifier
- The unique identifier of the blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueGreenDeploymentName
The user-supplied name of the blue/green deployment.
- Parameters:
blueGreenDeploymentName
- The user-supplied name of the blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
- Parameters:
source
- The source database for the blue/green deployment.Before switchover, the source database is the production database in the blue environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
- Parameters:
target
- The target database for the blue/green deployment.Before switchover, the target database is the clone database in the green environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
switchoverDetails
The details about each source and target resource in the blue/green deployment.
- Parameters:
switchoverDetails
- The details about each source and target resource in the blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
switchoverDetails
The details about each source and target resource in the blue/green deployment.
- Parameters:
switchoverDetails
- The details about each source and target resource in the blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
switchoverDetails
BlueGreenDeployment.Builder switchoverDetails(Consumer<SwitchoverDetail.Builder>... switchoverDetails) The details about each source and target resource in the blue/green deployment.
This is a convenience method that creates an instance of theSwitchoverDetail.Builder
avoiding the need to create one manually viaSwitchoverDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toswitchoverDetails(List<SwitchoverDetail>)
.- Parameters:
switchoverDetails
- a consumer that will call methods onSwitchoverDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tasks
Either tasks to be performed or tasks that have been completed on the target database before switchover.
- Parameters:
tasks
- Either tasks to be performed or tasks that have been completed on the target database before switchover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
Either tasks to be performed or tasks that have been completed on the target database before switchover.
- Parameters:
tasks
- Either tasks to be performed or tasks that have been completed on the target database before switchover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
Either tasks to be performed or tasks that have been completed on the target database before switchover.
This is a convenience method that creates an instance of theBlueGreenDeploymentTask.Builder
avoiding the need to create one manually viaBlueGreenDeploymentTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totasks(List<BlueGreenDeploymentTask>)
.- Parameters:
tasks
- a consumer that will call methods onBlueGreenDeploymentTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the blue/green deployment.
Valid Values:
-
PROVISIONING
- Resources are being created in the green environment. -
AVAILABLE
- Resources are available in the green environment. -
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the green environment. -
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is complete. -
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't possible. -
SWITCHOVER_FAILED
- Switchover was attempted but failed. -
DELETING
- The blue/green deployment is being deleted.
- Parameters:
status
- The status of the blue/green deployment.Valid Values:
-
PROVISIONING
- Resources are being created in the green environment. -
AVAILABLE
- Resources are available in the green environment. -
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the green environment. -
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is complete. -
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't possible. -
SWITCHOVER_FAILED
- Switchover was attempted but failed. -
DELETING
- The blue/green deployment is being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
statusDetails
Additional information about the status of the blue/green deployment.
- Parameters:
statusDetails
- Additional information about the status of the blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
- Parameters:
createTime
- The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteTime
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
- Parameters:
deleteTime
- The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Sets the value of the TagList property for this object.- Parameters:
tagList
- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Sets the value of the TagList property for this object.- Parameters:
tagList
- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Sets the value of the TagList property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagList(List<Tag>)
.- Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-