#[non_exhaustive]
pub struct DescribeLocationS3OutputBuilder { /* private fields */ }
Expand description

A builder for DescribeLocationS3Output.

Implementations§

source§

impl DescribeLocationS3OutputBuilder

source

pub fn location_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.

source

pub fn set_location_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.

source

pub fn get_location_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.

source

pub fn location_uri(self, input: impl Into<String>) -> Self

The URL of the Amazon S3 location that was described.

source

pub fn set_location_uri(self, input: Option<String>) -> Self

The URL of the Amazon S3 location that was described.

source

pub fn get_location_uri(&self) -> &Option<String>

The URL of the Amazon S3 location that was described.

source

pub fn s3_storage_class(self, input: S3StorageClass) -> Self

The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.

source

pub fn set_s3_storage_class(self, input: Option<S3StorageClass>) -> Self

The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.

source

pub fn get_s3_storage_class(&self) -> &Option<S3StorageClass>

The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.

source

pub fn s3_config(self, input: S3Config) -> Self

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.

For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.

source

pub fn set_s3_config(self, input: Option<S3Config>) -> Self

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.

For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.

source

pub fn get_s3_config(&self) -> &Option<S3Config>

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.

For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.

source

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.

If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.

source

pub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self

If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.

source

pub fn get_agent_arns(&self) -> &Option<Vec<String>>

If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.

source

pub fn creation_time(self, input: DateTime) -> Self

The time that the Amazon S3 bucket location was created.

source

pub fn set_creation_time(self, input: Option<DateTime>) -> Self

The time that the Amazon S3 bucket location was created.

source

pub fn get_creation_time(&self) -> &Option<DateTime>

The time that the Amazon S3 bucket location was created.

source

pub fn build(self) -> DescribeLocationS3Output

Consumes the builder and constructs a DescribeLocationS3Output.

Trait Implementations§

source§

impl Clone for DescribeLocationS3OutputBuilder

source§

fn clone(&self) -> DescribeLocationS3OutputBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DescribeLocationS3OutputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DescribeLocationS3OutputBuilder

source§

fn default() -> DescribeLocationS3OutputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for DescribeLocationS3OutputBuilder

source§

fn eq(&self, other: &DescribeLocationS3OutputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DescribeLocationS3OutputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more