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 Details

    • 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

      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

      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 the SwitchoverDetail.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<SwitchoverDetail>).

      Parameters:
      switchoverDetails - a consumer that will call methods on SwitchoverDetail.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 the BlueGreenDeploymentTask.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<BlueGreenDeploymentTask>).

      Parameters:
      tasks - a consumer that will call methods on BlueGreenDeploymentTask.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

      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

      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

      Sets the value of the TagList property for this object. This is a convenience method that creates an instance of the 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<Tag>).

      Parameters:
      tagList - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: