#[non_exhaustive]pub struct DeploymentDataSummaryBuilder { /* private fields */ }
Expand description
A builder for DeploymentDataSummary
.
Implementations§
source§impl DeploymentDataSummaryBuilder
impl DeploymentDataSummaryBuilder
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 name of the workload deployment pattern.
sourcepub fn set_pattern_name(self, input: Option<String>) -> Self
pub fn set_pattern_name(self, input: Option<String>) -> Self
The name of the workload deployment pattern.
sourcepub fn get_pattern_name(&self) -> &Option<String>
pub fn get_pattern_name(&self) -> &Option<String>
The name of the workload deployment pattern.
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 build(self) -> DeploymentDataSummary
pub fn build(self) -> DeploymentDataSummary
Consumes the builder and constructs a DeploymentDataSummary
.
Trait Implementations§
source§impl Clone for DeploymentDataSummaryBuilder
impl Clone for DeploymentDataSummaryBuilder
source§fn clone(&self) -> DeploymentDataSummaryBuilder
fn clone(&self) -> DeploymentDataSummaryBuilder
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 Debug for DeploymentDataSummaryBuilder
impl Debug for DeploymentDataSummaryBuilder
source§impl Default for DeploymentDataSummaryBuilder
impl Default for DeploymentDataSummaryBuilder
source§fn default() -> DeploymentDataSummaryBuilder
fn default() -> DeploymentDataSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeploymentDataSummaryBuilder
impl PartialEq for DeploymentDataSummaryBuilder
source§fn eq(&self, other: &DeploymentDataSummaryBuilder) -> bool
fn eq(&self, other: &DeploymentDataSummaryBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeploymentDataSummaryBuilder
Auto Trait Implementations§
impl Freeze for DeploymentDataSummaryBuilder
impl RefUnwindSafe for DeploymentDataSummaryBuilder
impl Send for DeploymentDataSummaryBuilder
impl Sync for DeploymentDataSummaryBuilder
impl Unpin for DeploymentDataSummaryBuilder
impl UnwindSafe for DeploymentDataSummaryBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.