Struct aws_sdk_appflow::types::builders::DataTransferApiBuilder
source · #[non_exhaustive]pub struct DataTransferApiBuilder { /* private fields */ }
Expand description
A builder for DataTransferApi
.
Implementations§
source§impl DataTransferApiBuilder
impl DataTransferApiBuilder
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the connector application API.
sourcepub fn type(self, input: DataTransferApiType) -> Self
pub fn type(self, input: DataTransferApiType) -> Self
You can specify one of the following types:
- AUTOMATIC
-
The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.
- SYNC
-
A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.
- ASYNC
-
An asynchronous API. This type of API optimizes a flow for large datasets.
sourcepub fn set_type(self, input: Option<DataTransferApiType>) -> Self
pub fn set_type(self, input: Option<DataTransferApiType>) -> Self
You can specify one of the following types:
- AUTOMATIC
-
The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.
- SYNC
-
A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.
- ASYNC
-
An asynchronous API. This type of API optimizes a flow for large datasets.
sourcepub fn get_type(&self) -> &Option<DataTransferApiType>
pub fn get_type(&self) -> &Option<DataTransferApiType>
You can specify one of the following types:
- AUTOMATIC
-
The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.
- SYNC
-
A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.
- ASYNC
-
An asynchronous API. This type of API optimizes a flow for large datasets.
sourcepub fn build(self) -> DataTransferApi
pub fn build(self) -> DataTransferApi
Consumes the builder and constructs a DataTransferApi
.
Trait Implementations§
source§impl Clone for DataTransferApiBuilder
impl Clone for DataTransferApiBuilder
source§fn clone(&self) -> DataTransferApiBuilder
fn clone(&self) -> DataTransferApiBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataTransferApiBuilder
impl Debug for DataTransferApiBuilder
source§impl Default for DataTransferApiBuilder
impl Default for DataTransferApiBuilder
source§fn default() -> DataTransferApiBuilder
fn default() -> DataTransferApiBuilder
source§impl PartialEq for DataTransferApiBuilder
impl PartialEq for DataTransferApiBuilder
source§fn eq(&self, other: &DataTransferApiBuilder) -> bool
fn eq(&self, other: &DataTransferApiBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.