Interface UpdateFileCacheResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateFileCacheResponse.Builder,UpdateFileCacheResponse>,FSxResponse.Builder,SdkBuilder<UpdateFileCacheResponse.Builder,UpdateFileCacheResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateFileCacheResponse
public static interface UpdateFileCacheResponse.Builder extends FSxResponse.Builder, SdkPojo, CopyableBuilder<UpdateFileCacheResponse.Builder,UpdateFileCacheResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateFileCacheResponse.BuilderfileCache(Consumer<FileCache.Builder> fileCache)A description of the cache that was updated.UpdateFileCacheResponse.BuilderfileCache(FileCache fileCache)A description of the cache that was updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fileCache
UpdateFileCacheResponse.Builder fileCache(FileCache fileCache)
A description of the cache that was updated.
- Parameters:
fileCache- A description of the cache that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileCache
default UpdateFileCacheResponse.Builder fileCache(Consumer<FileCache.Builder> fileCache)
A description of the cache that was updated.
This is a convenience method that creates an instance of theFileCache.Builderavoiding the need to create one manually viaFileCache.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileCache(FileCache).- Parameters:
fileCache- a consumer that will call methods onFileCache.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fileCache(FileCache)
-
-