#[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 ==
.