Struct aws_sdk_ec2::model::user_bucket::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UserBucket
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket where the disk image is located.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket where the disk image is located.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The file name of the disk image.
sourcepub fn build(self) -> UserBucket
pub fn build(self) -> UserBucket
Consumes the builder and constructs a UserBucket
.