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.
This field is required.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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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.
This field is required.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 get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
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.
This field is required.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 get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
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.
sourcepub fn get_canned_acl(&self) -> &Option<CannedAccessControlList>
pub fn get_canned_acl(&self) -> &Option<CannedAccessControlList>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for S3ActionBuilder
impl PartialEq for S3ActionBuilder
source§fn eq(&self, other: &S3ActionBuilder) -> bool
fn eq(&self, other: &S3ActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3ActionBuilder
Auto Trait Implementations§
impl Freeze for S3ActionBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more