public static interface BlueGreenDeployment.Builder extends SdkPojo, CopyableBuilder<BlueGreenDeployment.Builder,BlueGreenDeployment>
| Modifier and Type | Method and Description |
|---|---|
BlueGreenDeployment.Builder |
blueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)
The system-generated identifier of the blue/green deployment.
|
BlueGreenDeployment.Builder |
blueGreenDeploymentName(String blueGreenDeploymentName)
The user-supplied name of the blue/green deployment.
|
BlueGreenDeployment.Builder |
createTime(Instant createTime)
Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
|
BlueGreenDeployment.Builder |
deleteTime(Instant deleteTime)
Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
|
BlueGreenDeployment.Builder |
source(String source)
The source database for the blue/green deployment.
|
BlueGreenDeployment.Builder |
status(String status)
The status of the blue/green deployment.
|
BlueGreenDeployment.Builder |
statusDetails(String statusDetails)
Additional information about the status of the blue/green deployment.
|
BlueGreenDeployment.Builder |
switchoverDetails(Collection<SwitchoverDetail> switchoverDetails)
The details about each source and target resource in the blue/green deployment.
|
BlueGreenDeployment.Builder |
switchoverDetails(Consumer<SwitchoverDetail.Builder>... switchoverDetails)
The details about each source and target resource in the blue/green deployment.
|
BlueGreenDeployment.Builder |
switchoverDetails(SwitchoverDetail... switchoverDetails)
The details about each source and target resource in the blue/green deployment.
|
BlueGreenDeployment.Builder |
tagList(Collection<Tag> tagList)
Sets the value of the TagList property for this object.
|
BlueGreenDeployment.Builder |
tagList(Consumer<Tag.Builder>... tagList)
Sets the value of the TagList property for this object.
|
BlueGreenDeployment.Builder |
tagList(Tag... tagList)
Sets the value of the TagList property for this object.
|
BlueGreenDeployment.Builder |
target(String target)
The target database for the blue/green deployment.
|
BlueGreenDeployment.Builder |
tasks(BlueGreenDeploymentTask... tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
BlueGreenDeployment.Builder |
tasks(Collection<BlueGreenDeploymentTask> tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
BlueGreenDeployment.Builder |
tasks(Consumer<BlueGreenDeploymentTask.Builder>... tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBlueGreenDeployment.Builder blueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)
The system-generated identifier of the blue/green deployment.
blueGreenDeploymentIdentifier - The system-generated identifier of the blue/green deployment.BlueGreenDeployment.Builder blueGreenDeploymentName(String blueGreenDeploymentName)
The user-supplied name of the blue/green deployment.
blueGreenDeploymentName - The user-supplied name of the blue/green deployment.BlueGreenDeployment.Builder source(String source)
The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
source - The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
BlueGreenDeployment.Builder target(String target)
The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
target - The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
BlueGreenDeployment.Builder switchoverDetails(Collection<SwitchoverDetail> switchoverDetails)
The details about each source and target resource in the blue/green deployment.
switchoverDetails - The details about each source and target resource in the blue/green deployment.BlueGreenDeployment.Builder switchoverDetails(SwitchoverDetail... switchoverDetails)
The details about each source and target resource in the blue/green deployment.
switchoverDetails - The details about each source and target resource in the blue/green deployment.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 via SwitchoverDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #switchoverDetails(List.
switchoverDetails - a consumer that will call methods on
SwitchoverDetail.Builder#switchoverDetails(java.util.Collection) BlueGreenDeployment.Builder tasks(Collection<BlueGreenDeploymentTask> tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
tasks - Either tasks to be performed or tasks that have been completed on the target database before
switchover.BlueGreenDeployment.Builder tasks(BlueGreenDeploymentTask... tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
tasks - Either tasks to be performed or tasks that have been completed on the target database before
switchover.BlueGreenDeployment.Builder tasks(Consumer<BlueGreenDeploymentTask.Builder>... 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 via BlueGreenDeploymentTask.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #tasks(List.
tasks - a consumer that will call methods on
BlueGreenDeploymentTask.Builder#tasks(java.util.Collection) BlueGreenDeployment.Builder status(String status)
The status of the blue/green deployment.
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.
status - The status of the blue/green deployment.
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.
BlueGreenDeployment.Builder statusDetails(String statusDetails)
Additional information about the status of the blue/green deployment.
statusDetails - Additional information about the status of the blue/green deployment.BlueGreenDeployment.Builder createTime(Instant createTime)
Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
createTime - Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).BlueGreenDeployment.Builder deleteTime(Instant deleteTime)
Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
deleteTime - Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).BlueGreenDeployment.Builder tagList(Collection<Tag> tagList)
tagList - The new value for the TagList property for this object.BlueGreenDeployment.Builder tagList(Tag... tagList)
tagList - The new value for the TagList property for this object.BlueGreenDeployment.Builder tagList(Consumer<Tag.Builder>... tagList)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tagList(List.
tagList - a consumer that will call methods on Tag.Builder#tagList(java.util.Collection) Copyright © 2023. All rights reserved.