Struct aws_sdk_codedeploy::types::builders::S3LocationBuilder
source · #[non_exhaustive]pub struct S3LocationBuilder { /* private fields */ }
Expand description
A builder for S3Location
.
Implementations§
source§impl S3LocationBuilder
impl S3LocationBuilder
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 get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
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 get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
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. -
YAML
: A YAML-formatted file. -
JSON
: A JSON-formatted 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. -
YAML
: A YAML-formatted file. -
JSON
: A JSON-formatted file.
sourcepub fn get_bundle_type(&self) -> &Option<BundleType>
pub fn get_bundle_type(&self) -> &Option<BundleType>
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. -
YAML
: A YAML-formatted file. -
JSON
: A JSON-formatted 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 get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
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 get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for S3LocationBuilder
impl Clone for S3LocationBuilder
source§fn clone(&self) -> S3LocationBuilder
fn clone(&self) -> S3LocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3LocationBuilder
impl Debug for S3LocationBuilder
source§impl Default for S3LocationBuilder
impl Default for S3LocationBuilder
source§fn default() -> S3LocationBuilder
fn default() -> S3LocationBuilder
source§impl PartialEq for S3LocationBuilder
impl PartialEq for S3LocationBuilder
source§fn eq(&self, other: &S3LocationBuilder) -> bool
fn eq(&self, other: &S3LocationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.