Struct aws_sdk_codepipeline::model::s3_artifact_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for S3ArtifactLocation
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of the S3 bucket.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of the S3 bucket.
sourcepub fn object_key(self, input: impl Into<String>) -> Self
pub fn object_key(self, input: impl Into<String>) -> Self
The key of the object in the S3 bucket, which uniquely identifies the object in the bucket.
sourcepub fn set_object_key(self, input: Option<String>) -> Self
pub fn set_object_key(self, input: Option<String>) -> Self
The key of the object in the S3 bucket, which uniquely identifies the object in the bucket.
sourcepub fn build(self) -> S3ArtifactLocation
pub fn build(self) -> S3ArtifactLocation
Consumes the builder and constructs a S3ArtifactLocation
.