Struct aws_sdk_datasync::operation::describe_location_s3::builders::DescribeLocationS3OutputBuilder
source · #[non_exhaustive]pub struct DescribeLocationS3OutputBuilder { /* private fields */ }
Expand description
A builder for DescribeLocationS3Output
.
Implementations§
source§impl DescribeLocationS3OutputBuilder
impl DescribeLocationS3OutputBuilder
sourcepub fn location_arn(self, input: impl Into<String>) -> Self
pub fn location_arn(self, input: impl Into<String>) -> Self
The ARN of the Amazon S3 location.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
The ARN of the Amazon S3 location.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
The ARN of the Amazon S3 location.
sourcepub fn location_uri(self, input: impl Into<String>) -> Self
pub fn location_uri(self, input: impl Into<String>) -> Self
The URL of the Amazon S3 location that was described.
sourcepub fn set_location_uri(self, input: Option<String>) -> Self
pub fn set_location_uri(self, input: Option<String>) -> Self
The URL of the Amazon S3 location that was described.
sourcepub fn get_location_uri(&self) -> &Option<String>
pub fn get_location_uri(&self) -> &Option<String>
The URL of the Amazon S3 location that was described.
sourcepub fn s3_storage_class(self, input: S3StorageClass) -> Self
pub fn s3_storage_class(self, input: S3StorageClass) -> Self
When Amazon S3 is a destination location, this is the storage class that you chose for your objects.
Some storage classes have behaviors that can affect your Amazon S3 storage costs. For more information, see Storage class considerations with Amazon S3 transfers.
sourcepub fn set_s3_storage_class(self, input: Option<S3StorageClass>) -> Self
pub fn set_s3_storage_class(self, input: Option<S3StorageClass>) -> Self
When Amazon S3 is a destination location, this is the storage class that you chose for your objects.
Some storage classes have behaviors that can affect your Amazon S3 storage costs. For more information, see Storage class considerations with Amazon S3 transfers.
sourcepub fn get_s3_storage_class(&self) -> &Option<S3StorageClass>
pub fn get_s3_storage_class(&self) -> &Option<S3StorageClass>
When Amazon S3 is a destination location, this is the storage class that you chose for your objects.
Some storage classes have behaviors that can affect your Amazon S3 storage costs. For more information, see Storage class considerations with Amazon S3 transfers.
sourcepub fn s3_config(self, input: S3Config) -> Self
pub fn s3_config(self, input: S3Config) -> Self
Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets.
sourcepub fn set_s3_config(self, input: Option<S3Config>) -> Self
pub fn set_s3_config(self, input: Option<S3Config>) -> Self
Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets.
sourcepub fn get_s3_config(&self) -> &Option<S3Config>
pub fn get_s3_config(&self) -> &Option<S3Config>
Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets.
sourcepub fn agent_arns(self, input: impl Into<String>) -> Self
pub fn agent_arns(self, input: impl Into<String>) -> Self
Appends an item to agent_arns
.
To override the contents of this collection use set_agent_arns
.
The ARNs of the DataSync agents deployed on your Outpost when using working with Amazon S3 on Outposts.
For more information, see Deploy your DataSync agent on Outposts.
sourcepub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
The ARNs of the DataSync agents deployed on your Outpost when using working with Amazon S3 on Outposts.
For more information, see Deploy your DataSync agent on Outposts.
sourcepub fn get_agent_arns(&self) -> &Option<Vec<String>>
pub fn get_agent_arns(&self) -> &Option<Vec<String>>
The ARNs of the DataSync agents deployed on your Outpost when using working with Amazon S3 on Outposts.
For more information, see Deploy your DataSync agent on Outposts.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the Amazon S3 location was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the Amazon S3 location was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that the Amazon S3 location was created.
sourcepub fn build(self) -> DescribeLocationS3Output
pub fn build(self) -> DescribeLocationS3Output
Consumes the builder and constructs a DescribeLocationS3Output
.
Trait Implementations§
source§impl Clone for DescribeLocationS3OutputBuilder
impl Clone for DescribeLocationS3OutputBuilder
source§fn clone(&self) -> DescribeLocationS3OutputBuilder
fn clone(&self) -> DescribeLocationS3OutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeLocationS3OutputBuilder
impl Default for DescribeLocationS3OutputBuilder
source§fn default() -> DescribeLocationS3OutputBuilder
fn default() -> DescribeLocationS3OutputBuilder
source§impl PartialEq for DescribeLocationS3OutputBuilder
impl PartialEq for DescribeLocationS3OutputBuilder
source§fn eq(&self, other: &DescribeLocationS3OutputBuilder) -> bool
fn eq(&self, other: &DescribeLocationS3OutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeLocationS3OutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeLocationS3OutputBuilder
impl RefUnwindSafe for DescribeLocationS3OutputBuilder
impl Send for DescribeLocationS3OutputBuilder
impl Sync for DescribeLocationS3OutputBuilder
impl Unpin for DescribeLocationS3OutputBuilder
impl UnwindSafe for DescribeLocationS3OutputBuilder
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