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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateFileCacheResponse.BuilderfileCache(Consumer<FileCacheCreating.Builder> fileCache)A description of the cache that was created.CreateFileCacheResponse.BuilderfileCache(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fileCache
CreateFileCacheResponse.Builder fileCache(FileCacheCreating 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
default CreateFileCacheResponse.Builder fileCache(Consumer<FileCacheCreating.Builder> 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:
fileCache(FileCacheCreating)
-
-