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
impl StructuralPartialEq for DeploymentBuilder
Auto Trait Implementations§
impl Freeze for DeploymentBuilder
impl RefUnwindSafe for DeploymentBuilder
impl Send for DeploymentBuilder
impl Sync for DeploymentBuilder
impl Unpin for DeploymentBuilder
impl UnwindSafe for DeploymentBuilder
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> 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)
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>
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