Struct aws_sdk_apigatewayv2::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 auto_deployed(self, input: bool) -> Self
pub fn auto_deployed(self, input: bool) -> Self
Specifies whether a deployment was automatically released.
sourcepub fn set_auto_deployed(self, input: Option<bool>) -> Self
pub fn set_auto_deployed(self, input: Option<bool>) -> Self
Specifies whether a deployment was automatically released.
sourcepub fn get_auto_deployed(&self) -> &Option<bool>
pub fn get_auto_deployed(&self) -> &Option<bool>
Specifies whether a deployment was automatically released.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time when the Deployment resource was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date and time when the Deployment resource was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date and time when the Deployment resource was created.
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The identifier for the deployment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The identifier for the deployment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The identifier for the deployment.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
sourcepub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
sourcepub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
sourcepub fn deployment_status_message(self, input: impl Into<String>) -> Self
pub fn deployment_status_message(self, input: impl Into<String>) -> Self
May contain additional feedback on the status of an API deployment.
sourcepub fn set_deployment_status_message(self, input: Option<String>) -> Self
pub fn set_deployment_status_message(self, input: Option<String>) -> Self
May contain additional feedback on the status of an API deployment.
sourcepub fn get_deployment_status_message(&self) -> &Option<String>
pub fn get_deployment_status_message(&self) -> &Option<String>
May contain additional feedback on the status of an API deployment.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the deployment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the deployment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the deployment.
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