Interface DescribeFileCachesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFileCachesResponse.Builder,
,DescribeFileCachesResponse> FSxResponse.Builder
,SdkBuilder<DescribeFileCachesResponse.Builder,
,DescribeFileCachesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFileCachesResponse
@Mutable
@NotThreadSafe
public static interface DescribeFileCachesResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<DescribeFileCachesResponse.Builder,DescribeFileCachesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfileCaches
(Collection<FileCache> fileCaches) The response object for theDescribeFileCaches
operation.fileCaches
(Consumer<FileCache.Builder>... fileCaches) The response object for theDescribeFileCaches
operation.fileCaches
(FileCache... fileCaches) The response object for theDescribeFileCaches
operation.Sets the value of the NextToken property for this object.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 Details
-
fileCaches
The response object for the
DescribeFileCaches
operation.- Parameters:
fileCaches
- The response object for theDescribeFileCaches
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileCaches
The response object for the
DescribeFileCaches
operation.- Parameters:
fileCaches
- The response object for theDescribeFileCaches
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileCaches
The response object for the
This is a convenience method that creates an instance of theDescribeFileCaches
operation.FileCache.Builder
avoiding the need to create one manually viaFileCache.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileCaches(List<FileCache>)
.- Parameters:
fileCaches
- 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:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-