Struct aws_sdk_computeoptimizer::model::s3_destination::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for S3Destination
.
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 used as the destination of an export file.
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 used as the destination of an export file.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The Amazon S3 bucket key of an export file.
The key uniquely identifies the object, or export file, in the S3 bucket.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The Amazon S3 bucket key of an export file.
The key uniquely identifies the object, or export file, in the S3 bucket.
sourcepub fn metadata_key(self, input: impl Into<String>) -> Self
pub fn metadata_key(self, input: impl Into<String>) -> Self
The Amazon S3 bucket key of a metadata file.
The key uniquely identifies the object, or metadata file, in the S3 bucket.
sourcepub fn set_metadata_key(self, input: Option<String>) -> Self
pub fn set_metadata_key(self, input: Option<String>) -> Self
The Amazon S3 bucket key of a metadata file.
The key uniquely identifies the object, or metadata file, in the S3 bucket.
sourcepub fn build(self) -> S3Destination
pub fn build(self) -> S3Destination
Consumes the builder and constructs a S3Destination
.