Struct aws_sdk_ec2::model::s3_storage::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for S3Storage
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn aws_access_key_id(self, input: impl Into<String>) -> Self
pub fn aws_access_key_id(self, input: impl Into<String>) -> Self
The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best practices for managing Amazon Web Services access keys.
sourcepub fn set_aws_access_key_id(self, input: Option<String>) -> Self
pub fn set_aws_access_key_id(self, input: Option<String>) -> Self
The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best practices for managing Amazon Web Services access keys.
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
The beginning of the file name of the AMI.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
The beginning of the file name of the AMI.
sourcepub fn upload_policy(self, input: Blob) -> Self
pub fn upload_policy(self, input: Blob) -> Self
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
sourcepub fn set_upload_policy(self, input: Option<Blob>) -> Self
pub fn set_upload_policy(self, input: Option<Blob>) -> Self
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
sourcepub fn upload_policy_signature(self, input: impl Into<String>) -> Self
pub fn upload_policy_signature(self, input: impl Into<String>) -> Self
The signature of the JSON document.
sourcepub fn set_upload_policy_signature(self, input: Option<String>) -> Self
pub fn set_upload_policy_signature(self, input: Option<String>) -> Self
The signature of the JSON document.