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 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 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 build(self) -> Result<DeleteApplicationVersionInput, BuildError>
pub fn build(self) -> Result<DeleteApplicationVersionInput, BuildError>
Consumes the builder and constructs a DeleteApplicationVersionInput.
Trait Implementations§
source§impl Clone for DeleteApplicationVersionInputBuilder
impl Clone for DeleteApplicationVersionInputBuilder
source§fn clone(&self) -> DeleteApplicationVersionInputBuilder
fn clone(&self) -> DeleteApplicationVersionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteApplicationVersionInputBuilder
impl Default for DeleteApplicationVersionInputBuilder
source§fn default() -> DeleteApplicationVersionInputBuilder
fn default() -> DeleteApplicationVersionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteApplicationVersionInputBuilder> for DeleteApplicationVersionInputBuilder
impl PartialEq<DeleteApplicationVersionInputBuilder> for DeleteApplicationVersionInputBuilder
source§fn eq(&self, other: &DeleteApplicationVersionInputBuilder) -> bool
fn eq(&self, other: &DeleteApplicationVersionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteApplicationVersionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteApplicationVersionInputBuilder
impl Send for DeleteApplicationVersionInputBuilder
impl Sync for DeleteApplicationVersionInputBuilder
impl Unpin for DeleteApplicationVersionInputBuilder
impl UnwindSafe for DeleteApplicationVersionInputBuilder
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
Mutably borrows from an owned value. Read more