Struct aws_sdk_rds::types::builders::BlueGreenDeploymentTaskBuilder
source · #[non_exhaustive]pub struct BlueGreenDeploymentTaskBuilder { /* private fields */ }Expand description
A builder for BlueGreenDeploymentTask.
Implementations§
source§impl BlueGreenDeploymentTaskBuilder
impl BlueGreenDeploymentTaskBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the blue/green deployment task.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the blue/green deployment task.
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 task.
Values:
-
PENDING- The resources are being prepared for deployment. -
IN_PROGRESS- The resource is being deployed. -
COMPLETED- The resource has been deployed. -
FAILED- Deployment of the resource failed.
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 task.
Values:
-
PENDING- The resources are being prepared for deployment. -
IN_PROGRESS- The resource is being deployed. -
COMPLETED- The resource has been deployed. -
FAILED- Deployment of the resource failed.
sourcepub fn build(self) -> BlueGreenDeploymentTask
pub fn build(self) -> BlueGreenDeploymentTask
Consumes the builder and constructs a BlueGreenDeploymentTask.
Trait Implementations§
source§impl Clone for BlueGreenDeploymentTaskBuilder
impl Clone for BlueGreenDeploymentTaskBuilder
source§fn clone(&self) -> BlueGreenDeploymentTaskBuilder
fn clone(&self) -> BlueGreenDeploymentTaskBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for BlueGreenDeploymentTaskBuilder
impl Default for BlueGreenDeploymentTaskBuilder
source§fn default() -> BlueGreenDeploymentTaskBuilder
fn default() -> BlueGreenDeploymentTaskBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BlueGreenDeploymentTaskBuilder> for BlueGreenDeploymentTaskBuilder
impl PartialEq<BlueGreenDeploymentTaskBuilder> for BlueGreenDeploymentTaskBuilder
source§fn eq(&self, other: &BlueGreenDeploymentTaskBuilder) -> bool
fn eq(&self, other: &BlueGreenDeploymentTaskBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.