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 Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
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
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.
sourcepub fn set_s3_storage_class(self, input: Option<S3StorageClass>) -> Self
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.
sourcepub fn get_s3_storage_class(&self) -> &Option<S3StorageClass>
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.
sourcepub fn s3_config(self, input: S3Config) -> Self
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.
sourcepub fn set_s3_config(self, input: Option<S3Config>) -> Self
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.
sourcepub fn get_s3_config(&self) -> &Option<S3Config>
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.
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
.
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.
sourcepub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_agent_arns(&self) -> &Option<Vec<String>>
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.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the Amazon S3 bucket 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 bucket 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 bucket 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 ==
.