Struct aws_sdk_elasticbeanstalk::operation::delete_application_version::builders::DeleteApplicationVersionInputBuilder
source · #[non_exhaustive]pub struct DeleteApplicationVersionInputBuilder { /* private fields */ }
Expand description
A builder for DeleteApplicationVersionInput
.
Implementations§
source§impl DeleteApplicationVersionInputBuilder
impl DeleteApplicationVersionInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application to which the version belongs.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application to which the version belongs.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application to which the version belongs.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
The label of the version to delete.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
The label of the version to delete.
sourcepub fn get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
The label of the version to delete.
sourcepub fn delete_source_bundle(self, input: bool) -> Self
pub fn delete_source_bundle(self, input: bool) -> Self
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
sourcepub fn set_delete_source_bundle(self, input: Option<bool>) -> Self
pub fn set_delete_source_bundle(self, input: Option<bool>) -> Self
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
sourcepub fn get_delete_source_bundle(&self) -> &Option<bool>
pub fn get_delete_source_bundle(&self) -> &Option<bool>
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
sourcepub fn build(self) -> Result<DeleteApplicationVersionInput, BuildError>
pub fn build(self) -> Result<DeleteApplicationVersionInput, BuildError>
Consumes the builder and constructs a DeleteApplicationVersionInput
.
source§impl DeleteApplicationVersionInputBuilder
impl DeleteApplicationVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteApplicationVersionOutput, SdkError<DeleteApplicationVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteApplicationVersionOutput, SdkError<DeleteApplicationVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteApplicationVersionInputBuilder
impl Clone for DeleteApplicationVersionInputBuilder
source§fn clone(&self) -> DeleteApplicationVersionInputBuilder
fn clone(&self) -> DeleteApplicationVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteApplicationVersionInputBuilder
impl Default for DeleteApplicationVersionInputBuilder
source§fn default() -> DeleteApplicationVersionInputBuilder
fn default() -> DeleteApplicationVersionInputBuilder
source§impl PartialEq<DeleteApplicationVersionInputBuilder> for DeleteApplicationVersionInputBuilder
impl PartialEq<DeleteApplicationVersionInputBuilder> for DeleteApplicationVersionInputBuilder
source§fn eq(&self, other: &DeleteApplicationVersionInputBuilder) -> bool
fn eq(&self, other: &DeleteApplicationVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.