Interface CreateFileCacheResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateFileCacheResponse.Builder,
,CreateFileCacheResponse> FSxResponse.Builder
,SdkBuilder<CreateFileCacheResponse.Builder,
,CreateFileCacheResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateFileCacheResponse
public static interface CreateFileCacheResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<CreateFileCacheResponse.Builder,CreateFileCacheResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateFileCacheResponse.Builder
fileCache
(Consumer<FileCacheCreating.Builder> fileCache) A description of the cache that was created.fileCache
(FileCacheCreating fileCache) A description of the cache that was created.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 Details
-
fileCache
A description of the cache that was created.
- Parameters:
fileCache
- A description of the cache that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileCache
A description of the cache that was created.
This is a convenience method that creates an instance of theFileCacheCreating.Builder
avoiding the need to create one manually viaFileCacheCreating.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileCache(FileCacheCreating)
.- Parameters:
fileCache
- a consumer that will call methods onFileCacheCreating.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-