pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteApplicationVersionInput
.
Implementations§
source§impl Builder
impl Builder
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
.