Interface BlueGreenDeployment.Builder

    • 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.
      • 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.
      • 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 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).

        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:
        #tagList(java.util.Collection)