Struct aws_sdk_ssm::input::create_resource_data_sync_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateResourceDataSyncInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_sync_name(self, input: Option<String>) -> Self
pub fn set_sync_name(self, input: Option<String>) -> Self
A name for the configuration.
sourcepub fn s3_destination(self, input: ResourceDataSyncS3Destination) -> Self
pub fn s3_destination(self, input: ResourceDataSyncS3Destination) -> Self
Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is SyncToDestination.
sourcepub fn set_s3_destination(
self,
input: Option<ResourceDataSyncS3Destination>
) -> Self
pub fn set_s3_destination(
self,
input: Option<ResourceDataSyncS3Destination>
) -> Self
Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is SyncToDestination.
sourcepub fn sync_type(self, input: impl Into<String>) -> Self
pub fn sync_type(self, input: impl Into<String>) -> Self
Specify SyncToDestination
to create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specify SyncToDestination
, you must provide a value for S3Destination
. Specify SyncFromSource
to synchronize data from a single account and multiple Regions, or multiple Amazon Web Services accounts and Amazon Web Services Regions, as listed in Organizations for Explorer. If you specify SyncFromSource
, you must provide a value for SyncSource
. The default value is SyncToDestination
.
sourcepub fn set_sync_type(self, input: Option<String>) -> Self
pub fn set_sync_type(self, input: Option<String>) -> Self
Specify SyncToDestination
to create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specify SyncToDestination
, you must provide a value for S3Destination
. Specify SyncFromSource
to synchronize data from a single account and multiple Regions, or multiple Amazon Web Services accounts and Amazon Web Services Regions, as listed in Organizations for Explorer. If you specify SyncFromSource
, you must provide a value for SyncSource
. The default value is SyncToDestination
.
sourcepub fn sync_source(self, input: ResourceDataSyncSource) -> Self
pub fn sync_source(self, input: ResourceDataSyncSource) -> Self
Specify information about the data sources to synchronize. This parameter is required if the SyncType
value is SyncFromSource.
sourcepub fn set_sync_source(self, input: Option<ResourceDataSyncSource>) -> Self
pub fn set_sync_source(self, input: Option<ResourceDataSyncSource>) -> Self
Specify information about the data sources to synchronize. This parameter is required if the SyncType
value is SyncFromSource.
sourcepub fn build(self) -> Result<CreateResourceDataSyncInput, BuildError>
pub fn build(self) -> Result<CreateResourceDataSyncInput, BuildError>
Consumes the builder and constructs a CreateResourceDataSyncInput
.