Interface PutSynchronizationConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutSynchronizationConfigurationRequest.Builder,,PutSynchronizationConfigurationRequest> S3FilesRequest.Builder,SdkBuilder<PutSynchronizationConfigurationRequest.Builder,,PutSynchronizationConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutSynchronizationConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionexpirationDataRules(Collection<ExpirationDataRule> expirationDataRules) An array of expiration data rules that control when cached data expires from the file system.expirationDataRules(Consumer<ExpirationDataRule.Builder>... expirationDataRules) An array of expiration data rules that control when cached data expires from the file system.expirationDataRules(ExpirationDataRule... expirationDataRules) An array of expiration data rules that control when cached data expires from the file system.fileSystemId(String fileSystemId) The ID or Amazon Resource Name (ARN) of the S3 File System to configure synchronization for.importDataRules(Collection<ImportDataRule> importDataRules) An array of import data rules that control how data is imported from S3 into the file system.importDataRules(Consumer<ImportDataRule.Builder>... importDataRules) An array of import data rules that control how data is imported from S3 into the file system.importDataRules(ImportDataRule... importDataRules) An array of import data rules that control how data is imported from S3 into the file system.latestVersionNumber(Integer latestVersionNumber) The version number of the current synchronization configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3files.model.S3FilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fileSystemId
The ID or Amazon Resource Name (ARN) of the S3 File System to configure synchronization for.
- Parameters:
fileSystemId- The ID or Amazon Resource Name (ARN) of the S3 File System to configure synchronization for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersionNumber
The version number of the current synchronization configuration. Omit this value when creating a synchronization configuration for the first time. For subsequent updates, provide this value for optimistic concurrency control. If the version number does not match the current configuration, the request fails with a
ConflictException.- Parameters:
latestVersionNumber- The version number of the current synchronization configuration. Omit this value when creating a synchronization configuration for the first time. For subsequent updates, provide this value for optimistic concurrency control. If the version number does not match the current configuration, the request fails with aConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataRules
PutSynchronizationConfigurationRequest.Builder importDataRules(Collection<ImportDataRule> importDataRules) An array of import data rules that control how data is imported from S3 into the file system.
- Parameters:
importDataRules- An array of import data rules that control how data is imported from S3 into the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataRules
An array of import data rules that control how data is imported from S3 into the file system.
- Parameters:
importDataRules- An array of import data rules that control how data is imported from S3 into the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataRules
PutSynchronizationConfigurationRequest.Builder importDataRules(Consumer<ImportDataRule.Builder>... importDataRules) An array of import data rules that control how data is imported from S3 into the file system.
This is a convenience method that creates an instance of theImportDataRule.Builderavoiding the need to create one manually viaImportDataRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportDataRules(List<ImportDataRule>).- Parameters:
importDataRules- a consumer that will call methods onImportDataRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expirationDataRules
PutSynchronizationConfigurationRequest.Builder expirationDataRules(Collection<ExpirationDataRule> expirationDataRules) An array of expiration data rules that control when cached data expires from the file system.
- Parameters:
expirationDataRules- An array of expiration data rules that control when cached data expires from the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationDataRules
PutSynchronizationConfigurationRequest.Builder expirationDataRules(ExpirationDataRule... expirationDataRules) An array of expiration data rules that control when cached data expires from the file system.
- Parameters:
expirationDataRules- An array of expiration data rules that control when cached data expires from the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationDataRules
PutSynchronizationConfigurationRequest.Builder expirationDataRules(Consumer<ExpirationDataRule.Builder>... expirationDataRules) An array of expiration data rules that control when cached data expires from the file system.
This is a convenience method that creates an instance of theExpirationDataRule.Builderavoiding the need to create one manually viaExpirationDataRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpirationDataRules(List<ExpirationDataRule>).- Parameters:
expirationDataRules- a consumer that will call methods onExpirationDataRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutSynchronizationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutSynchronizationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-