Struct aws_sdk_transfer::operation::start_directory_listing::builders::StartDirectoryListingOutputBuilder
source · #[non_exhaustive]pub struct StartDirectoryListingOutputBuilder { /* private fields */ }
Expand description
A builder for StartDirectoryListingOutput
.
Implementations§
source§impl StartDirectoryListingOutputBuilder
impl StartDirectoryListingOutputBuilder
sourcepub fn listing_id(self, input: impl Into<String>) -> Self
pub fn listing_id(self, input: impl Into<String>) -> Self
Returns a unique identifier for the directory listing call.
This field is required.sourcepub fn set_listing_id(self, input: Option<String>) -> Self
pub fn set_listing_id(self, input: Option<String>) -> Self
Returns a unique identifier for the directory listing call.
sourcepub fn get_listing_id(&self) -> &Option<String>
pub fn get_listing_id(&self) -> &Option<String>
Returns a unique identifier for the directory listing call.
sourcepub fn output_file_name(self, input: impl Into<String>) -> Self
pub fn output_file_name(self, input: impl Into<String>) -> Self
Returns the file name where the results are stored. This is a combination of the connector ID and the listing ID: <connector-id>-<listing-id>.json
.
sourcepub fn set_output_file_name(self, input: Option<String>) -> Self
pub fn set_output_file_name(self, input: Option<String>) -> Self
Returns the file name where the results are stored. This is a combination of the connector ID and the listing ID: <connector-id>-<listing-id>.json
.
sourcepub fn get_output_file_name(&self) -> &Option<String>
pub fn get_output_file_name(&self) -> &Option<String>
Returns the file name where the results are stored. This is a combination of the connector ID and the listing ID: <connector-id>-<listing-id>.json
.
sourcepub fn build(self) -> Result<StartDirectoryListingOutput, BuildError>
pub fn build(self) -> Result<StartDirectoryListingOutput, BuildError>
Consumes the builder and constructs a StartDirectoryListingOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StartDirectoryListingOutputBuilder
impl Clone for StartDirectoryListingOutputBuilder
source§fn clone(&self) -> StartDirectoryListingOutputBuilder
fn clone(&self) -> StartDirectoryListingOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDirectoryListingOutputBuilder
impl Default for StartDirectoryListingOutputBuilder
source§fn default() -> StartDirectoryListingOutputBuilder
fn default() -> StartDirectoryListingOutputBuilder
source§impl PartialEq for StartDirectoryListingOutputBuilder
impl PartialEq for StartDirectoryListingOutputBuilder
source§fn eq(&self, other: &StartDirectoryListingOutputBuilder) -> bool
fn eq(&self, other: &StartDirectoryListingOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartDirectoryListingOutputBuilder
Auto Trait Implementations§
impl Freeze for StartDirectoryListingOutputBuilder
impl RefUnwindSafe for StartDirectoryListingOutputBuilder
impl Send for StartDirectoryListingOutputBuilder
impl Sync for StartDirectoryListingOutputBuilder
impl Unpin for StartDirectoryListingOutputBuilder
impl UnwindSafe for StartDirectoryListingOutputBuilder
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