#[non_exhaustive]pub struct SapoDataPaginationConfigBuilder { /* private fields */ }Expand description
A builder for SapoDataPaginationConfig.
Implementations§
source§impl SapoDataPaginationConfigBuilder
impl SapoDataPaginationConfigBuilder
sourcepub fn max_page_size(self, input: i32) -> Self
pub fn max_page_size(self, input: i32) -> Self
The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application. For transfers of OData records, the maximum page size is 3,000. For transfers of data that comes from an ODP provider, the maximum page size is 10,000.
This field is required.sourcepub fn set_max_page_size(self, input: Option<i32>) -> Self
pub fn set_max_page_size(self, input: Option<i32>) -> Self
The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application. For transfers of OData records, the maximum page size is 3,000. For transfers of data that comes from an ODP provider, the maximum page size is 10,000.
sourcepub fn get_max_page_size(&self) -> &Option<i32>
pub fn get_max_page_size(&self) -> &Option<i32>
The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application. For transfers of OData records, the maximum page size is 3,000. For transfers of data that comes from an ODP provider, the maximum page size is 10,000.
sourcepub fn build(self) -> Result<SapoDataPaginationConfig, BuildError>
pub fn build(self) -> Result<SapoDataPaginationConfig, BuildError>
Consumes the builder and constructs a SapoDataPaginationConfig.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SapoDataPaginationConfigBuilder
impl Clone for SapoDataPaginationConfigBuilder
source§fn clone(&self) -> SapoDataPaginationConfigBuilder
fn clone(&self) -> SapoDataPaginationConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SapoDataPaginationConfigBuilder
impl Default for SapoDataPaginationConfigBuilder
source§fn default() -> SapoDataPaginationConfigBuilder
fn default() -> SapoDataPaginationConfigBuilder
source§impl PartialEq for SapoDataPaginationConfigBuilder
impl PartialEq for SapoDataPaginationConfigBuilder
source§fn eq(&self, other: &SapoDataPaginationConfigBuilder) -> bool
fn eq(&self, other: &SapoDataPaginationConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SapoDataPaginationConfigBuilder
Auto Trait Implementations§
impl Freeze for SapoDataPaginationConfigBuilder
impl RefUnwindSafe for SapoDataPaginationConfigBuilder
impl Send for SapoDataPaginationConfigBuilder
impl Sync for SapoDataPaginationConfigBuilder
impl Unpin for SapoDataPaginationConfigBuilder
impl UnwindSafe for SapoDataPaginationConfigBuilder
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