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 ==
.impl StructuralPartialEq for DataTransferApiBuilder
Auto Trait Implementations§
impl Freeze for DataTransferApiBuilder
impl RefUnwindSafe for DataTransferApiBuilder
impl Send for DataTransferApiBuilder
impl Sync for DataTransferApiBuilder
impl Unpin for DataTransferApiBuilder
impl UnwindSafe for DataTransferApiBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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