public static interface CreateResourceDataSyncRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateResourceDataSyncRequest.Builder syncName(String syncName)
A name for the configuration.
syncName
- A name for the configuration.CreateResourceDataSyncRequest.Builder s3Destination(ResourceDataSyncS3Destination s3Destination)
Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value
is SyncToDestination.
s3Destination
- Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is SyncToDestination.default CreateResourceDataSyncRequest.Builder s3Destination(Consumer<ResourceDataSyncS3Destination.Builder> s3Destination)
Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value
is SyncToDestination.
ResourceDataSyncS3Destination.Builder
avoiding the need to create one manually via ResourceDataSyncS3Destination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to s3Destination(ResourceDataSyncS3Destination)
.s3Destination
- a consumer that will call methods on ResourceDataSyncS3Destination.Builder
s3Destination(ResourceDataSyncS3Destination)
CreateResourceDataSyncRequest.Builder syncType(String syncType)
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
.
syncType
- 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
.CreateResourceDataSyncRequest.Builder syncSource(ResourceDataSyncSource syncSource)
Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.
syncSource
- Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.default CreateResourceDataSyncRequest.Builder syncSource(Consumer<ResourceDataSyncSource.Builder> syncSource)
Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.
ResourceDataSyncSource.Builder
avoiding
the need to create one manually via ResourceDataSyncSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to syncSource(ResourceDataSyncSource)
.syncSource
- a consumer that will call methods on ResourceDataSyncSource.Builder
syncSource(ResourceDataSyncSource)
CreateResourceDataSyncRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateResourceDataSyncRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.