Interface BlueGreenDeployment.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<BlueGreenDeployment.Builder,BlueGreenDeployment>
,SdkBuilder<BlueGreenDeployment.Builder,BlueGreenDeployment>
,SdkPojo
- Enclosing class:
- BlueGreenDeployment
public static interface BlueGreenDeployment.Builder extends SdkPojo, CopyableBuilder<BlueGreenDeployment.Builder,BlueGreenDeployment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlueGreenDeployment.Builder
blueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)
The unique 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)
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).BlueGreenDeployment.Builder
deleteTime(Instant deleteTime)
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(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.BlueGreenDeployment.Builder
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 Detail
-
blueGreenDeploymentIdentifier
BlueGreenDeployment.Builder blueGreenDeploymentIdentifier(String 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
BlueGreenDeployment.Builder blueGreenDeploymentName(String 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
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.
- 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
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.
- 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
BlueGreenDeployment.Builder switchoverDetails(Collection<SwitchoverDetail> 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(SwitchoverDetail... 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 to#switchoverDetails(List
.) - 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:
#switchoverDetails(java.util.Collection
)
-
tasks
BlueGreenDeployment.Builder tasks(Collection<BlueGreenDeploymentTask> 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
BlueGreenDeployment.Builder tasks(BlueGreenDeploymentTask... 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
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 viaBlueGreenDeploymentTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tasks(List
.) - 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:
#tasks(java.util.Collection
)
-
status
BlueGreenDeployment.Builder status(String 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
BlueGreenDeployment.Builder statusDetails(String 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
BlueGreenDeployment.Builder createTime(Instant 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
BlueGreenDeployment.Builder deleteTime(Instant 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
BlueGreenDeployment.Builder tagList(Collection<Tag> 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
BlueGreenDeployment.Builder tagList(Tag... 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
BlueGreenDeployment.Builder tagList(Consumer<Tag.Builder>... 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 to#tagList(List
.) - 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:
#tagList(java.util.Collection
)
-
-