Struct aws_sdk_codedeploy::model::s3_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for S3Location
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket where the application revision is stored.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket where the application revision is stored.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
sourcepub fn bundle_type(self, input: BundleType) -> Self
pub fn bundle_type(self, input: BundleType) -> Self
The file type of the application revision. Must be one of the following:
-
tar
: A tar archive file. -
tgz
: A compressed tar archive file. -
zip
: A zip archive file.
sourcepub fn set_bundle_type(self, input: Option<BundleType>) -> Self
pub fn set_bundle_type(self, input: Option<BundleType>) -> Self
The file type of the application revision. Must be one of the following:
-
tar
: A tar archive file. -
tgz
: A compressed tar archive file. -
zip
: A zip archive file.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the version is not specified, the system uses the most recent version by default.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the version is not specified, the system uses the most recent version by default.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object is skipped.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object is skipped.
sourcepub fn build(self) -> S3Location
pub fn build(self) -> S3Location
Consumes the builder and constructs a S3Location
.