Struct aws_sdk_elasticbeanstalk::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 version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
The version label of the application version in the deployment.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
The version label of the application version in the deployment.
sourcepub fn get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
The version label of the application version in the deployment.
sourcepub fn deployment_id(self, input: i64) -> Self
pub fn deployment_id(self, input: i64) -> Self
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
sourcepub fn set_deployment_id(self, input: Option<i64>) -> Self
pub fn set_deployment_id(self, input: Option<i64>) -> Self
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
sourcepub fn get_deployment_id(&self) -> &Option<i64>
pub fn get_deployment_id(&self) -> &Option<i64>
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
sourcepub fn deployment_time(self, input: DateTime) -> Self
pub fn deployment_time(self, input: DateTime) -> Self
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
sourcepub fn set_deployment_time(self, input: Option<DateTime>) -> Self
pub fn set_deployment_time(self, input: Option<DateTime>) -> Self
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
sourcepub fn get_deployment_time(&self) -> &Option<DateTime>
pub fn get_deployment_time(&self) -> &Option<DateTime>
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
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 ==
.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> 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