#[non_exhaustive]
pub struct BlueGreenDeploymentBuilder { /* private fields */ }
Expand description

A builder for BlueGreenDeployment.

Implementations§

source§

impl BlueGreenDeploymentBuilder

source

pub fn blue_green_deployment_identifier(self, input: impl Into<String>) -> Self

The system-generated identifier of the blue/green deployment.

source

pub fn set_blue_green_deployment_identifier(self, input: Option<String>) -> Self

The system-generated identifier of the blue/green deployment.

source

pub fn blue_green_deployment_name(self, input: impl Into<String>) -> Self

The user-supplied name of the blue/green deployment.

source

pub fn set_blue_green_deployment_name(self, input: Option<String>) -> Self

The user-supplied name of the blue/green deployment.

source

pub fn source(self, input: impl Into<String>) -> Self

The source database for the blue/green deployment.

Before switchover, the source database is the production database in the blue environment.

source

pub fn set_source(self, input: Option<String>) -> Self

The source database for the blue/green deployment.

Before switchover, the source database is the production database in the blue environment.

source

pub fn target(self, input: impl Into<String>) -> Self

The target database for the blue/green deployment.

Before switchover, the target database is the clone database in the green environment.

source

pub fn set_target(self, input: Option<String>) -> Self

The target database for the blue/green deployment.

Before switchover, the target database is the clone database in the green environment.

source

pub fn switchover_details(self, input: SwitchoverDetail) -> Self

Appends an item to switchover_details.

To override the contents of this collection use set_switchover_details.

The details about each source and target resource in the blue/green deployment.

source

pub fn set_switchover_details( self, input: Option<Vec<SwitchoverDetail>> ) -> Self

The details about each source and target resource in the blue/green deployment.

source

pub fn tasks(self, input: BlueGreenDeploymentTask) -> Self

Appends an item to tasks.

To override the contents of this collection use set_tasks.

Either tasks to be performed or tasks that have been completed on the target database before switchover.

source

pub fn set_tasks(self, input: Option<Vec<BlueGreenDeploymentTask>>) -> Self

Either tasks to be performed or tasks that have been completed on the target database before switchover.

source

pub fn status(self, input: impl Into<String>) -> Self

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.

source

pub fn set_status(self, input: Option<String>) -> Self

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.

source

pub fn status_details(self, input: impl Into<String>) -> Self

Additional information about the status of the blue/green deployment.

source

pub fn set_status_details(self, input: Option<String>) -> Self

Additional information about the status of the blue/green deployment.

source

pub fn create_time(self, input: DateTime) -> Self

Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).

source

pub fn set_create_time(self, input: Option<DateTime>) -> Self

Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).

source

pub fn delete_time(self, input: DateTime) -> Self

Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).

source

pub fn set_delete_time(self, input: Option<DateTime>) -> Self

Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).

source

pub fn tag_list(self, input: Tag) -> Self

Appends an item to tag_list.

To override the contents of this collection use set_tag_list.

A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.

source

pub fn set_tag_list(self, input: Option<Vec<Tag>>) -> Self

A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.

source

pub fn build(self) -> BlueGreenDeployment

Consumes the builder and constructs a BlueGreenDeployment.

Trait Implementations§

source§

impl Clone for BlueGreenDeploymentBuilder

source§

fn clone(&self) -> BlueGreenDeploymentBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BlueGreenDeploymentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BlueGreenDeploymentBuilder

source§

fn default() -> BlueGreenDeploymentBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<BlueGreenDeploymentBuilder> for BlueGreenDeploymentBuilder

source§

fn eq(&self, other: &BlueGreenDeploymentBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for BlueGreenDeploymentBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more