#[non_exhaustive]pub struct LastDeploymentInfoBuilder { /* private fields */ }
Expand description
A builder for LastDeploymentInfo
.
Implementations§
source§impl LastDeploymentInfoBuilder
impl LastDeploymentInfoBuilder
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The unique ID of a deployment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The unique ID of a deployment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The unique ID of a deployment.
sourcepub fn status(self, input: DeploymentStatus) -> Self
pub fn status(self, input: DeploymentStatus) -> Self
The status of the most recent deployment.
sourcepub fn set_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_status(self, input: Option<DeploymentStatus>) -> Self
The status of the most recent deployment.
sourcepub fn get_status(&self) -> &Option<DeploymentStatus>
pub fn get_status(&self) -> &Option<DeploymentStatus>
The status of the most recent deployment.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
A timestamp that indicates when the most recent deployment to the deployment group was complete.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the most recent deployment to the deployment group was complete.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
A timestamp that indicates when the most recent deployment to the deployment group was complete.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
A timestamp that indicates when the most recent deployment to the deployment group started.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the most recent deployment to the deployment group started.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
A timestamp that indicates when the most recent deployment to the deployment group started.
sourcepub fn build(self) -> LastDeploymentInfo
pub fn build(self) -> LastDeploymentInfo
Consumes the builder and constructs a LastDeploymentInfo
.
Trait Implementations§
source§impl Clone for LastDeploymentInfoBuilder
impl Clone for LastDeploymentInfoBuilder
source§fn clone(&self) -> LastDeploymentInfoBuilder
fn clone(&self) -> LastDeploymentInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LastDeploymentInfoBuilder
impl Debug for LastDeploymentInfoBuilder
source§impl Default for LastDeploymentInfoBuilder
impl Default for LastDeploymentInfoBuilder
source§fn default() -> LastDeploymentInfoBuilder
fn default() -> LastDeploymentInfoBuilder
source§impl PartialEq for LastDeploymentInfoBuilder
impl PartialEq for LastDeploymentInfoBuilder
source§fn eq(&self, other: &LastDeploymentInfoBuilder) -> bool
fn eq(&self, other: &LastDeploymentInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LastDeploymentInfoBuilder
Auto Trait Implementations§
impl Freeze for LastDeploymentInfoBuilder
impl RefUnwindSafe for LastDeploymentInfoBuilder
impl Send for LastDeploymentInfoBuilder
impl Sync for LastDeploymentInfoBuilder
impl Unpin for LastDeploymentInfoBuilder
impl UnwindSafe for LastDeploymentInfoBuilder
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