Struct aws_sdk_transfer::operation::start_directory_listing::builders::StartDirectoryListingInputBuilder
source · #[non_exhaustive]pub struct StartDirectoryListingInputBuilder { /* private fields */ }
Expand description
A builder for StartDirectoryListingInput
.
Implementations§
source§impl StartDirectoryListingInputBuilder
impl StartDirectoryListingInputBuilder
sourcepub fn connector_id(self, input: impl Into<String>) -> Self
pub fn connector_id(self, input: impl Into<String>) -> Self
The unique identifier for the connector.
This field is required.sourcepub fn set_connector_id(self, input: Option<String>) -> Self
pub fn set_connector_id(self, input: Option<String>) -> Self
The unique identifier for the connector.
sourcepub fn get_connector_id(&self) -> &Option<String>
pub fn get_connector_id(&self) -> &Option<String>
The unique identifier for the connector.
sourcepub fn remote_directory_path(self, input: impl Into<String>) -> Self
pub fn remote_directory_path(self, input: impl Into<String>) -> Self
Specifies the directory on the remote SFTP server for which you want to list its contents.
This field is required.sourcepub fn set_remote_directory_path(self, input: Option<String>) -> Self
pub fn set_remote_directory_path(self, input: Option<String>) -> Self
Specifies the directory on the remote SFTP server for which you want to list its contents.
sourcepub fn get_remote_directory_path(&self) -> &Option<String>
pub fn get_remote_directory_path(&self) -> &Option<String>
Specifies the directory on the remote SFTP server for which you want to list its contents.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
An optional parameter where you can specify the maximum number of file/directory names to retrieve. The default value is 1,000.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
An optional parameter where you can specify the maximum number of file/directory names to retrieve. The default value is 1,000.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
An optional parameter where you can specify the maximum number of file/directory names to retrieve. The default value is 1,000.
sourcepub fn output_directory_path(self, input: impl Into<String>) -> Self
pub fn output_directory_path(self, input: impl Into<String>) -> Self
Specifies the path (bucket and prefix) in Amazon S3 storage to store the results of the directory listing.
This field is required.sourcepub fn set_output_directory_path(self, input: Option<String>) -> Self
pub fn set_output_directory_path(self, input: Option<String>) -> Self
Specifies the path (bucket and prefix) in Amazon S3 storage to store the results of the directory listing.
sourcepub fn get_output_directory_path(&self) -> &Option<String>
pub fn get_output_directory_path(&self) -> &Option<String>
Specifies the path (bucket and prefix) in Amazon S3 storage to store the results of the directory listing.
sourcepub fn build(self) -> Result<StartDirectoryListingInput, BuildError>
pub fn build(self) -> Result<StartDirectoryListingInput, BuildError>
Consumes the builder and constructs a StartDirectoryListingInput
.
source§impl StartDirectoryListingInputBuilder
impl StartDirectoryListingInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<StartDirectoryListingOutput, SdkError<StartDirectoryListingError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<StartDirectoryListingOutput, SdkError<StartDirectoryListingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartDirectoryListingInputBuilder
impl Clone for StartDirectoryListingInputBuilder
source§fn clone(&self) -> StartDirectoryListingInputBuilder
fn clone(&self) -> StartDirectoryListingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDirectoryListingInputBuilder
impl Default for StartDirectoryListingInputBuilder
source§fn default() -> StartDirectoryListingInputBuilder
fn default() -> StartDirectoryListingInputBuilder
source§impl PartialEq for StartDirectoryListingInputBuilder
impl PartialEq for StartDirectoryListingInputBuilder
source§fn eq(&self, other: &StartDirectoryListingInputBuilder) -> bool
fn eq(&self, other: &StartDirectoryListingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartDirectoryListingInputBuilder
Auto Trait Implementations§
impl Freeze for StartDirectoryListingInputBuilder
impl RefUnwindSafe for StartDirectoryListingInputBuilder
impl Send for StartDirectoryListingInputBuilder
impl Sync for StartDirectoryListingInputBuilder
impl Unpin for StartDirectoryListingInputBuilder
impl UnwindSafe for StartDirectoryListingInputBuilder
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