Struct aws_sdk_rds::types::builders::BlueGreenDeploymentBuilder
source · #[non_exhaustive]pub struct BlueGreenDeploymentBuilder { /* private fields */ }Expand description
A builder for BlueGreenDeployment.
Implementations§
source§impl BlueGreenDeploymentBuilder
impl BlueGreenDeploymentBuilder
sourcepub fn blue_green_deployment_identifier(self, input: impl Into<String>) -> Self
pub fn blue_green_deployment_identifier(self, input: impl Into<String>) -> Self
The system-generated identifier of the blue/green deployment.
sourcepub fn set_blue_green_deployment_identifier(self, input: Option<String>) -> Self
pub fn set_blue_green_deployment_identifier(self, input: Option<String>) -> Self
The system-generated identifier of the blue/green deployment.
sourcepub fn blue_green_deployment_name(self, input: impl Into<String>) -> Self
pub fn blue_green_deployment_name(self, input: impl Into<String>) -> Self
The user-supplied name of the blue/green deployment.
sourcepub fn set_blue_green_deployment_name(self, input: Option<String>) -> Self
pub fn set_blue_green_deployment_name(self, input: Option<String>) -> Self
The user-supplied name of the blue/green deployment.
sourcepub fn source(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_source(self, input: Option<String>) -> Self
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.
sourcepub fn target(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_target(self, input: Option<String>) -> Self
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.
sourcepub fn switchover_details(self, input: SwitchoverDetail) -> Self
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.
sourcepub fn set_switchover_details(
self,
input: Option<Vec<SwitchoverDetail>>
) -> Self
pub fn set_switchover_details( self, input: Option<Vec<SwitchoverDetail>> ) -> Self
The details about each source and target resource in the blue/green deployment.
sourcepub fn tasks(self, input: BlueGreenDeploymentTask) -> Self
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.
sourcepub fn set_tasks(self, input: Option<Vec<BlueGreenDeploymentTask>>) -> Self
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.
sourcepub fn status(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_status(self, input: Option<String>) -> Self
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.
sourcepub fn status_details(self, input: impl Into<String>) -> Self
pub fn status_details(self, input: impl Into<String>) -> Self
Additional information about the status of the blue/green deployment.
sourcepub fn set_status_details(self, input: Option<String>) -> Self
pub fn set_status_details(self, input: Option<String>) -> Self
Additional information about the status of the blue/green deployment.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
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).
sourcepub fn delete_time(self, input: DateTime) -> Self
pub fn delete_time(self, input: DateTime) -> Self
Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
sourcepub fn set_delete_time(self, input: Option<DateTime>) -> Self
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).
sourcepub fn tag_list(self, input: Tag) -> Self
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.
sourcepub fn set_tag_list(self, input: Option<Vec<Tag>>) -> Self
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.
sourcepub fn build(self) -> BlueGreenDeployment
pub fn build(self) -> BlueGreenDeployment
Consumes the builder and constructs a BlueGreenDeployment.
Trait Implementations§
source§impl Clone for BlueGreenDeploymentBuilder
impl Clone for BlueGreenDeploymentBuilder
source§fn clone(&self) -> BlueGreenDeploymentBuilder
fn clone(&self) -> BlueGreenDeploymentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BlueGreenDeploymentBuilder
impl Debug for BlueGreenDeploymentBuilder
source§impl Default for BlueGreenDeploymentBuilder
impl Default for BlueGreenDeploymentBuilder
source§fn default() -> BlueGreenDeploymentBuilder
fn default() -> BlueGreenDeploymentBuilder
source§impl PartialEq<BlueGreenDeploymentBuilder> for BlueGreenDeploymentBuilder
impl PartialEq<BlueGreenDeploymentBuilder> for BlueGreenDeploymentBuilder
source§fn eq(&self, other: &BlueGreenDeploymentBuilder) -> bool
fn eq(&self, other: &BlueGreenDeploymentBuilder) -> bool
self and other values to be equal, and is used
by ==.