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.BuilderblueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)The unique identifier of the blue/green deployment.BlueGreenDeployment.BuilderblueGreenDeploymentName(String blueGreenDeploymentName)The user-supplied name of the blue/green deployment.BlueGreenDeployment.BuildercreateTime(Instant createTime)The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).BlueGreenDeployment.BuilderdeleteTime(Instant deleteTime)The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).BlueGreenDeployment.Buildersource(String source)The source database for the blue/green deployment.BlueGreenDeployment.Builderstatus(String status)The status of the blue/green deployment.BlueGreenDeployment.BuilderstatusDetails(String statusDetails)Additional information about the status of the blue/green deployment.BlueGreenDeployment.BuilderswitchoverDetails(Collection<SwitchoverDetail> switchoverDetails)The details about each source and target resource in the blue/green deployment.BlueGreenDeployment.BuilderswitchoverDetails(Consumer<SwitchoverDetail.Builder>... switchoverDetails)The details about each source and target resource in the blue/green deployment.BlueGreenDeployment.BuilderswitchoverDetails(SwitchoverDetail... switchoverDetails)The details about each source and target resource in the blue/green deployment.BlueGreenDeployment.BuildertagList(Collection<Tag> tagList)Sets the value of the TagList property for this object.BlueGreenDeployment.BuildertagList(Consumer<Tag.Builder>... tagList)Sets the value of the TagList property for this object.BlueGreenDeployment.BuildertagList(Tag... tagList)Sets the value of the TagList property for this object.BlueGreenDeployment.Buildertarget(String target)The target database for the blue/green deployment.BlueGreenDeployment.Buildertasks(Collection<BlueGreenDeploymentTask> tasks)Either tasks to be performed or tasks that have been completed on the target database before switchover.BlueGreenDeployment.Buildertasks(Consumer<BlueGreenDeploymentTask.Builder>... tasks)Either tasks to be performed or tasks that have been completed on the target database before switchover.BlueGreenDeployment.Buildertasks(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaSwitchoverDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaBlueGreenDeploymentTask.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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)
-
-