Struct aws_sdk_datazone::types::builders::DeploymentBuilder
source · #[non_exhaustive]pub struct DeploymentBuilder { /* private fields */ }
Expand description
A builder for Deployment
.
Implementations§
source§impl DeploymentBuilder
impl DeploymentBuilder
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The identifier of the last deployment of the environment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The identifier of the last deployment of the environment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The identifier of the last deployment of the environment.
sourcepub fn deployment_type(self, input: DeploymentType) -> Self
pub fn deployment_type(self, input: DeploymentType) -> Self
The type of the last deployment of the environment.
sourcepub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
pub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
The type of the last deployment of the environment.
sourcepub fn get_deployment_type(&self) -> &Option<DeploymentType>
pub fn get_deployment_type(&self) -> &Option<DeploymentType>
The type of the last deployment of the environment.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The status of the last deployment of the environment.
sourcepub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
The status of the last deployment of the environment.
sourcepub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
The status of the last deployment of the environment.
sourcepub fn failure_reason(self, input: EnvironmentError) -> Self
pub fn failure_reason(self, input: EnvironmentError) -> Self
The failure reason of the last deployment of the environment.
sourcepub fn set_failure_reason(self, input: Option<EnvironmentError>) -> Self
pub fn set_failure_reason(self, input: Option<EnvironmentError>) -> Self
The failure reason of the last deployment of the environment.
sourcepub fn get_failure_reason(&self) -> &Option<EnvironmentError>
pub fn get_failure_reason(&self) -> &Option<EnvironmentError>
The failure reason of the last deployment of the environment.
sourcepub fn messages(self, input: impl Into<String>) -> Self
pub fn messages(self, input: impl Into<String>) -> Self
Appends an item to messages
.
To override the contents of this collection use set_messages
.
The messages of the last deployment of the environment.
sourcepub fn set_messages(self, input: Option<Vec<String>>) -> Self
pub fn set_messages(self, input: Option<Vec<String>>) -> Self
The messages of the last deployment of the environment.
sourcepub fn get_messages(&self) -> &Option<Vec<String>>
pub fn get_messages(&self) -> &Option<Vec<String>>
The messages of the last deployment of the environment.
sourcepub fn is_deployment_complete(self, input: bool) -> Self
pub fn is_deployment_complete(self, input: bool) -> Self
Specifies whether the last deployment of the environment is complete.
sourcepub fn set_is_deployment_complete(self, input: Option<bool>) -> Self
pub fn set_is_deployment_complete(self, input: Option<bool>) -> Self
Specifies whether the last deployment of the environment is complete.
sourcepub fn get_is_deployment_complete(&self) -> &Option<bool>
pub fn get_is_deployment_complete(&self) -> &Option<bool>
Specifies whether the last deployment of the environment is complete.
sourcepub fn build(self) -> Deployment
pub fn build(self) -> Deployment
Consumes the builder and constructs a Deployment
.
Trait Implementations§
source§impl Clone for DeploymentBuilder
impl Clone for DeploymentBuilder
source§fn clone(&self) -> DeploymentBuilder
fn clone(&self) -> DeploymentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentBuilder
impl Debug for DeploymentBuilder
source§impl Default for DeploymentBuilder
impl Default for DeploymentBuilder
source§fn default() -> DeploymentBuilder
fn default() -> DeploymentBuilder
source§impl PartialEq for DeploymentBuilder
impl PartialEq for DeploymentBuilder
source§fn eq(&self, other: &DeploymentBuilder) -> bool
fn eq(&self, other: &DeploymentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.