Struct aws_sdk_iot::types::builders::S3ActionBuilder
source · #[non_exhaustive]pub struct S3ActionBuilder { /* private fields */ }
Expand description
A builder for S3Action
.
Implementations§
source§impl S3ActionBuilder
impl S3ActionBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that grants access.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that grants access.
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The Amazon S3 bucket.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The Amazon S3 bucket.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The object key. For more information, see Actions, resources, and condition keys for Amazon S3.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The object key. For more information, see Actions, resources, and condition keys for Amazon S3.
sourcepub fn canned_acl(self, input: CannedAccessControlList) -> Self
pub fn canned_acl(self, input: CannedAccessControlList) -> Self
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
sourcepub fn set_canned_acl(self, input: Option<CannedAccessControlList>) -> Self
pub fn set_canned_acl(self, input: Option<CannedAccessControlList>) -> Self
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
Trait Implementations§
source§impl Clone for S3ActionBuilder
impl Clone for S3ActionBuilder
source§fn clone(&self) -> S3ActionBuilder
fn clone(&self) -> S3ActionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for S3ActionBuilder
impl Debug for S3ActionBuilder
source§impl Default for S3ActionBuilder
impl Default for S3ActionBuilder
source§fn default() -> S3ActionBuilder
fn default() -> S3ActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<S3ActionBuilder> for S3ActionBuilder
impl PartialEq<S3ActionBuilder> for S3ActionBuilder
source§fn eq(&self, other: &S3ActionBuilder) -> bool
fn eq(&self, other: &S3ActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3ActionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for S3ActionBuilder
impl Send for S3ActionBuilder
impl Sync for S3ActionBuilder
impl Unpin for S3ActionBuilder
impl UnwindSafe for S3ActionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more