Struct aws_sdk_ssm::input::list_resource_data_sync_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ListResourceDataSyncInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn sync_type(self, input: impl Into<String>) -> Self
pub fn sync_type(self, input: impl Into<String>) -> Self
View a list of resource data syncs according to the sync type. Specify SyncToDestination
to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource
to view resource data syncs from Organizations or from multiple Amazon Web Services Regions.
sourcepub fn set_sync_type(self, input: Option<String>) -> Self
pub fn set_sync_type(self, input: Option<String>) -> Self
View a list of resource data syncs according to the sync type. Specify SyncToDestination
to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource
to view resource data syncs from Organizations or from multiple Amazon Web Services Regions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token to start the list. Use this token to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token to start the list. Use this token to get the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn build(self) -> Result<ListResourceDataSyncInput, BuildError>
pub fn build(self) -> Result<ListResourceDataSyncInput, BuildError>
Consumes the builder and constructs a ListResourceDataSyncInput
.