#[non_exhaustive]pub struct S3InputFileLocationBuilder { /* private fields */ }
Expand description
A builder for S3InputFileLocation
.
Implementations§
source§impl S3InputFileLocationBuilder
impl S3InputFileLocationBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
Specifies the S3 bucket for the customer input file.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
Specifies the S3 bucket for the customer input file.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Specifies the S3 bucket for the customer input file.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
sourcepub fn build(self) -> S3InputFileLocation
pub fn build(self) -> S3InputFileLocation
Consumes the builder and constructs a S3InputFileLocation
.
Trait Implementations§
source§impl Clone for S3InputFileLocationBuilder
impl Clone for S3InputFileLocationBuilder
source§fn clone(&self) -> S3InputFileLocationBuilder
fn clone(&self) -> S3InputFileLocationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for S3InputFileLocationBuilder
impl Debug for S3InputFileLocationBuilder
source§impl Default for S3InputFileLocationBuilder
impl Default for S3InputFileLocationBuilder
source§fn default() -> S3InputFileLocationBuilder
fn default() -> S3InputFileLocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3InputFileLocationBuilder
impl PartialEq for S3InputFileLocationBuilder
source§fn eq(&self, other: &S3InputFileLocationBuilder) -> bool
fn eq(&self, other: &S3InputFileLocationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3InputFileLocationBuilder
Auto Trait Implementations§
impl Freeze for S3InputFileLocationBuilder
impl RefUnwindSafe for S3InputFileLocationBuilder
impl Send for S3InputFileLocationBuilder
impl Sync for S3InputFileLocationBuilder
impl Unpin for S3InputFileLocationBuilder
impl UnwindSafe for S3InputFileLocationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.