Interface GetSynchronizationConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSynchronizationConfigurationResponse.Builder,,GetSynchronizationConfigurationResponse> S3FilesResponse.Builder,SdkBuilder<GetSynchronizationConfigurationResponse.Builder,,GetSynchronizationConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSynchronizationConfigurationResponse
-
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.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 synchronization configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3files.model.S3FilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
latestVersionNumber
The version number of the synchronization configuration. Use this value with
PutSynchronizationConfigurationto ensure optimistic concurrency control.- Parameters:
latestVersionNumber- The version number of the synchronization configuration. Use this value withPutSynchronizationConfigurationto ensure optimistic concurrency control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataRules
GetSynchronizationConfigurationResponse.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
GetSynchronizationConfigurationResponse.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
GetSynchronizationConfigurationResponse.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
GetSynchronizationConfigurationResponse.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
GetSynchronizationConfigurationResponse.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:
-