Struct aws_sdk_transfer::operation::start_file_transfer::builders::StartFileTransferInputBuilder
source · #[non_exhaustive]pub struct StartFileTransferInputBuilder { /* private fields */ }Expand description
A builder for StartFileTransferInput.
Implementations§
source§impl StartFileTransferInputBuilder
impl StartFileTransferInputBuilder
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 send_file_paths(self, input: impl Into<String>) -> Self
pub fn send_file_paths(self, input: impl Into<String>) -> Self
Appends an item to send_file_paths.
To override the contents of this collection use set_send_file_paths.
One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .
Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.
sourcepub fn set_send_file_paths(self, input: Option<Vec<String>>) -> Self
pub fn set_send_file_paths(self, input: Option<Vec<String>>) -> Self
One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .
Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.
sourcepub fn get_send_file_paths(&self) -> &Option<Vec<String>>
pub fn get_send_file_paths(&self) -> &Option<Vec<String>>
One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .
Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.
sourcepub fn retrieve_file_paths(self, input: impl Into<String>) -> Self
pub fn retrieve_file_paths(self, input: impl Into<String>) -> Self
Appends an item to retrieve_file_paths.
To override the contents of this collection use set_retrieve_file_paths.
One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
sourcepub fn set_retrieve_file_paths(self, input: Option<Vec<String>>) -> Self
pub fn set_retrieve_file_paths(self, input: Option<Vec<String>>) -> Self
One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
sourcepub fn get_retrieve_file_paths(&self) -> &Option<Vec<String>>
pub fn get_retrieve_file_paths(&self) -> &Option<Vec<String>>
One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
sourcepub fn local_directory_path(self, input: impl Into<String>) -> Self
pub fn local_directory_path(self, input: impl Into<String>) -> Self
For an inbound transfer, the LocaDirectoryPath specifies the destination for one or more files that are transferred from the partner's SFTP server.
sourcepub fn set_local_directory_path(self, input: Option<String>) -> Self
pub fn set_local_directory_path(self, input: Option<String>) -> Self
For an inbound transfer, the LocaDirectoryPath specifies the destination for one or more files that are transferred from the partner's SFTP server.
sourcepub fn get_local_directory_path(&self) -> &Option<String>
pub fn get_local_directory_path(&self) -> &Option<String>
For an inbound transfer, the LocaDirectoryPath specifies the destination for one or more files that are transferred from the partner's SFTP server.
sourcepub fn remote_directory_path(self, input: impl Into<String>) -> Self
pub fn remote_directory_path(self, input: impl Into<String>) -> Self
For an outbound transfer, the RemoteDirectoryPath specifies the destination for one or more files that are transferred to the partner's SFTP server. If you don't specify a RemoteDirectoryPath, the destination for transferred files is the SFTP user's home directory.
sourcepub fn set_remote_directory_path(self, input: Option<String>) -> Self
pub fn set_remote_directory_path(self, input: Option<String>) -> Self
For an outbound transfer, the RemoteDirectoryPath specifies the destination for one or more files that are transferred to the partner's SFTP server. If you don't specify a RemoteDirectoryPath, the destination for transferred files is the SFTP user's home directory.
sourcepub fn get_remote_directory_path(&self) -> &Option<String>
pub fn get_remote_directory_path(&self) -> &Option<String>
For an outbound transfer, the RemoteDirectoryPath specifies the destination for one or more files that are transferred to the partner's SFTP server. If you don't specify a RemoteDirectoryPath, the destination for transferred files is the SFTP user's home directory.
sourcepub fn build(self) -> Result<StartFileTransferInput, BuildError>
pub fn build(self) -> Result<StartFileTransferInput, BuildError>
Consumes the builder and constructs a StartFileTransferInput.
source§impl StartFileTransferInputBuilder
impl StartFileTransferInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartFileTransferOutput, SdkError<StartFileTransferError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartFileTransferOutput, SdkError<StartFileTransferError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartFileTransferInputBuilder
impl Clone for StartFileTransferInputBuilder
source§fn clone(&self) -> StartFileTransferInputBuilder
fn clone(&self) -> StartFileTransferInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartFileTransferInputBuilder
impl Default for StartFileTransferInputBuilder
source§fn default() -> StartFileTransferInputBuilder
fn default() -> StartFileTransferInputBuilder
source§impl PartialEq for StartFileTransferInputBuilder
impl PartialEq for StartFileTransferInputBuilder
source§fn eq(&self, other: &StartFileTransferInputBuilder) -> bool
fn eq(&self, other: &StartFileTransferInputBuilder) -> bool
self and other values to be equal, and is used
by ==.