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.BuilderfileCache(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
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadataMethods 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.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.Builderavoiding the need to create one manually viaFileCacheCreating.builder().When the
Consumercompletes,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:
-