Struct aws_sdk_snowball::types::builders::S3ResourceBuilder
source · #[non_exhaustive]pub struct S3ResourceBuilder { /* private fields */ }
Expand description
A builder for S3Resource
.
Implementations§
source§impl S3ResourceBuilder
impl S3ResourceBuilder
sourcepub fn bucket_arn(self, input: impl Into<String>) -> Self
pub fn bucket_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
sourcepub fn set_bucket_arn(self, input: Option<String>) -> Self
pub fn set_bucket_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
sourcepub fn get_bucket_arn(&self) -> &Option<String>
pub fn get_bucket_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
sourcepub fn key_range(self, input: KeyRange) -> Self
pub fn key_range(self, input: KeyRange) -> Self
For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker
, an inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
sourcepub fn set_key_range(self, input: Option<KeyRange>) -> Self
pub fn set_key_range(self, input: Option<KeyRange>) -> Self
For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker
, an inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
sourcepub fn get_key_range(&self) -> &Option<KeyRange>
pub fn get_key_range(&self) -> &Option<KeyRange>
For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker
, an inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
sourcepub fn target_on_device_services(self, input: TargetOnDeviceService) -> Self
pub fn target_on_device_services(self, input: TargetOnDeviceService) -> Self
Appends an item to target_on_device_services
.
To override the contents of this collection use set_target_on_device_services
.
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
sourcepub fn set_target_on_device_services(
self,
input: Option<Vec<TargetOnDeviceService>>
) -> Self
pub fn set_target_on_device_services( self, input: Option<Vec<TargetOnDeviceService>> ) -> Self
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
sourcepub fn get_target_on_device_services(
&self
) -> &Option<Vec<TargetOnDeviceService>>
pub fn get_target_on_device_services( &self ) -> &Option<Vec<TargetOnDeviceService>>
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
sourcepub fn build(self) -> S3Resource
pub fn build(self) -> S3Resource
Consumes the builder and constructs a S3Resource
.
Trait Implementations§
source§impl Clone for S3ResourceBuilder
impl Clone for S3ResourceBuilder
source§fn clone(&self) -> S3ResourceBuilder
fn clone(&self) -> S3ResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3ResourceBuilder
impl Debug for S3ResourceBuilder
source§impl Default for S3ResourceBuilder
impl Default for S3ResourceBuilder
source§fn default() -> S3ResourceBuilder
fn default() -> S3ResourceBuilder
source§impl PartialEq for S3ResourceBuilder
impl PartialEq for S3ResourceBuilder
source§fn eq(&self, other: &S3ResourceBuilder) -> bool
fn eq(&self, other: &S3ResourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.