Struct aws_sdk_launchwizard::types::builders::DeploymentDataBuilder
source · #[non_exhaustive]pub struct DeploymentDataBuilder { /* private fields */ }
Expand description
A builder for DeploymentData
.
Implementations§
source§impl DeploymentDataBuilder
impl DeploymentDataBuilder
sourcepub fn workload_name(self, input: impl Into<String>) -> Self
pub fn workload_name(self, input: impl Into<String>) -> Self
The name of the workload.
sourcepub fn set_workload_name(self, input: Option<String>) -> Self
pub fn set_workload_name(self, input: Option<String>) -> Self
The name of the workload.
sourcepub fn get_workload_name(&self) -> &Option<String>
pub fn get_workload_name(&self) -> &Option<String>
The name of the workload.
sourcepub fn pattern_name(self, input: impl Into<String>) -> Self
pub fn pattern_name(self, input: impl Into<String>) -> Self
The pattern name of the deployment.
sourcepub fn set_pattern_name(self, input: Option<String>) -> Self
pub fn set_pattern_name(self, input: Option<String>) -> Self
The pattern name of the deployment.
sourcepub fn get_pattern_name(&self) -> &Option<String>
pub fn get_pattern_name(&self) -> &Option<String>
The pattern name of the deployment.
sourcepub fn status(self, input: DeploymentStatus) -> Self
pub fn status(self, input: DeploymentStatus) -> Self
The status of the deployment.
sourcepub fn set_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_status(self, input: Option<DeploymentStatus>) -> Self
The status of the deployment.
sourcepub fn get_status(&self) -> &Option<DeploymentStatus>
pub fn get_status(&self) -> &Option<DeploymentStatus>
The status of the deployment.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time the deployment was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time the deployment was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time the deployment was created.
sourcepub fn specifications(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn specifications(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to specifications
.
To override the contents of this collection use set_specifications
.
The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications.
sourcepub fn set_specifications(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_specifications(self, input: Option<HashMap<String, String>>) -> Self
The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications.
sourcepub fn get_specifications(&self) -> &Option<HashMap<String, String>>
pub fn get_specifications(&self) -> &Option<HashMap<String, String>>
The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications.
sourcepub fn resource_group(self, input: impl Into<String>) -> Self
pub fn resource_group(self, input: impl Into<String>) -> Self
The resource group of the deployment.
sourcepub fn set_resource_group(self, input: Option<String>) -> Self
pub fn set_resource_group(self, input: Option<String>) -> Self
The resource group of the deployment.
sourcepub fn get_resource_group(&self) -> &Option<String>
pub fn get_resource_group(&self) -> &Option<String>
The resource group of the deployment.
sourcepub fn deleted_at(self, input: DateTime) -> Self
pub fn deleted_at(self, input: DateTime) -> Self
The time the deployment was deleted.
sourcepub fn set_deleted_at(self, input: Option<DateTime>) -> Self
pub fn set_deleted_at(self, input: Option<DateTime>) -> Self
The time the deployment was deleted.
sourcepub fn get_deleted_at(&self) -> &Option<DateTime>
pub fn get_deleted_at(&self) -> &Option<DateTime>
The time the deployment was deleted.
sourcepub fn build(self) -> DeploymentData
pub fn build(self) -> DeploymentData
Consumes the builder and constructs a DeploymentData
.
Trait Implementations§
source§impl Clone for DeploymentDataBuilder
impl Clone for DeploymentDataBuilder
source§fn clone(&self) -> DeploymentDataBuilder
fn clone(&self) -> DeploymentDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentDataBuilder
impl Debug for DeploymentDataBuilder
source§impl Default for DeploymentDataBuilder
impl Default for DeploymentDataBuilder
source§fn default() -> DeploymentDataBuilder
fn default() -> DeploymentDataBuilder
source§impl PartialEq for DeploymentDataBuilder
impl PartialEq for DeploymentDataBuilder
source§fn eq(&self, other: &DeploymentDataBuilder) -> bool
fn eq(&self, other: &DeploymentDataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentDataBuilder
Auto Trait Implementations§
impl Freeze for DeploymentDataBuilder
impl RefUnwindSafe for DeploymentDataBuilder
impl Send for DeploymentDataBuilder
impl Sync for DeploymentDataBuilder
impl Unpin for DeploymentDataBuilder
impl UnwindSafe for DeploymentDataBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more