Interface CreateResourceDataSyncRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>,SdkBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- CreateResourceDataSyncRequest
@Mutable @NotThreadSafe public static interface CreateResourceDataSyncRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
syncName
CreateResourceDataSyncRequest.Builder syncName(String syncName)
A name for the configuration.
- Parameters:
syncName- A name for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
CreateResourceDataSyncRequest.Builder s3Destination(ResourceDataSyncS3Destination s3Destination)
Amazon S3 configuration details for the sync. This parameter is required if the
SyncTypevalue is SyncToDestination.- Parameters:
s3Destination- Amazon S3 configuration details for the sync. This parameter is required if theSyncTypevalue is SyncToDestination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
default CreateResourceDataSyncRequest.Builder s3Destination(Consumer<ResourceDataSyncS3Destination.Builder> s3Destination)
Amazon S3 configuration details for the sync. This parameter is required if the
This is a convenience method that creates an instance of theSyncTypevalue is SyncToDestination.ResourceDataSyncS3Destination.Builderavoiding the need to create one manually viaResourceDataSyncS3Destination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Destination(ResourceDataSyncS3Destination).- Parameters:
s3Destination- a consumer that will call methods onResourceDataSyncS3Destination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Destination(ResourceDataSyncS3Destination)
-
syncType
CreateResourceDataSyncRequest.Builder syncType(String syncType)
Specify
SyncToDestinationto create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specifySyncToDestination, you must provide a value forS3Destination. SpecifySyncFromSourceto 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 specifySyncFromSource, you must provide a value forSyncSource. The default value isSyncToDestination.- Parameters:
syncType- SpecifySyncToDestinationto create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specifySyncToDestination, you must provide a value forS3Destination. SpecifySyncFromSourceto 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 specifySyncFromSource, you must provide a value forSyncSource. The default value isSyncToDestination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
CreateResourceDataSyncRequest.Builder syncSource(ResourceDataSyncSource syncSource)
Specify information about the data sources to synchronize. This parameter is required if the
SyncTypevalue is SyncFromSource.- Parameters:
syncSource- Specify information about the data sources to synchronize. This parameter is required if theSyncTypevalue is SyncFromSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
default CreateResourceDataSyncRequest.Builder syncSource(Consumer<ResourceDataSyncSource.Builder> syncSource)
Specify information about the data sources to synchronize. This parameter is required if the
This is a convenience method that creates an instance of theSyncTypevalue is SyncFromSource.ResourceDataSyncSource.Builderavoiding the need to create one manually viaResourceDataSyncSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosyncSource(ResourceDataSyncSource).- Parameters:
syncSource- a consumer that will call methods onResourceDataSyncSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
syncSource(ResourceDataSyncSource)
-
overrideConfiguration
CreateResourceDataSyncRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateResourceDataSyncRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-