Interface DescribeFileCachesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFileCachesResponse.Builder,,DescribeFileCachesResponse> FSxResponse.Builder,SdkBuilder<DescribeFileCachesResponse.Builder,,DescribeFileCachesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeFileCachesResponse
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 theDescribeFileCachesoperation.fileCaches(Consumer<FileCache.Builder>... fileCaches) The response object for theDescribeFileCachesoperation.fileCaches(FileCache... fileCaches) The response object for theDescribeFileCachesoperation.Sets the value of the NextToken property for this object.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
-
fileCaches
The response object for the
DescribeFileCachesoperation.- Parameters:
fileCaches- The response object for theDescribeFileCachesoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileCaches
The response object for the
DescribeFileCachesoperation.- Parameters:
fileCaches- The response object for theDescribeFileCachesoperation.- 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 theDescribeFileCachesoperation.FileCache.Builderavoiding the need to create one manually viaFileCache.builder().When the
Consumercompletes,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.
-