Interface RefreshCacheRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RefreshCacheRequest.Builder,,RefreshCacheRequest> SdkBuilder<RefreshCacheRequest.Builder,,RefreshCacheRequest> SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
RefreshCacheRequest
-
Method Summary
Modifier and TypeMethodDescriptionfileShareARN(String fileShareARN) The Amazon Resource Name (ARN) of the file share you want to refresh.folderList(String... folderList) A comma-separated list of the paths of folders to refresh in the cache.folderList(Collection<String> folderList) A comma-separated list of the paths of folders to refresh in the cache.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A value that specifies whether to recursively refresh folders in the cache.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
folderList
A comma-separated list of the paths of folders to refresh in the cache. The default is [
"/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. IfRecursiveis set totrue, the entire S3 bucket that the file share has access to is refreshed.Do not include
/when specifying folder names. For example, you would specifysamplefolderrather thansamplefolder/.- Parameters:
folderList- A comma-separated list of the paths of folders to refresh in the cache. The default is ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. IfRecursiveis set totrue, the entire S3 bucket that the file share has access to is refreshed.Do not include
/when specifying folder names. For example, you would specifysamplefolderrather thansamplefolder/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderList
A comma-separated list of the paths of folders to refresh in the cache. The default is [
"/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. IfRecursiveis set totrue, the entire S3 bucket that the file share has access to is refreshed.Do not include
/when specifying folder names. For example, you would specifysamplefolderrather thansamplefolder/.- Parameters:
folderList- A comma-separated list of the paths of folders to refresh in the cache. The default is ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. IfRecursiveis set totrue, the entire S3 bucket that the file share has access to is refreshed.Do not include
/when specifying folder names. For example, you would specifysamplefolderrather thansamplefolder/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recursive
A value that specifies whether to recursively refresh folders in the cache. The refresh includes folders that were in the cache the last time the gateway listed the folder's contents. If this value set to
true, each folder that is listed inFolderListis recursively updated. Otherwise, subfolders listed inFolderListare not refreshed. Only objects that are in folders listed directly underFolderListare found and used for the update. The default istrue.Valid Values:
true|false- Parameters:
recursive- A value that specifies whether to recursively refresh folders in the cache. The refresh includes folders that were in the cache the last time the gateway listed the folder's contents. If this value set totrue, each folder that is listed inFolderListis recursively updated. Otherwise, subfolders listed inFolderListare not refreshed. Only objects that are in folders listed directly underFolderListare found and used for the update. The default istrue.Valid Values:
true|false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RefreshCacheRequest.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
RefreshCacheRequest.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.