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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeFileCachesResponse.Builder
fileCaches(Collection<FileCache> fileCaches)
The response object for theDescribeFileCaches
operation.DescribeFileCachesResponse.Builder
fileCaches(Consumer<FileCache.Builder>... fileCaches)
The response object for theDescribeFileCaches
operation.DescribeFileCachesResponse.Builder
fileCaches(FileCache... fileCaches)
The response object for theDescribeFileCaches
operation.DescribeFileCachesResponse.Builder
nextToken(String nextToken)
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fileCaches
DescribeFileCachesResponse.Builder fileCaches(Collection<FileCache> 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
DescribeFileCachesResponse.Builder fileCaches(FileCache... 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
DescribeFileCachesResponse.Builder fileCaches(Consumer<FileCache.Builder>... 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 to#fileCaches(List
.) - 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:
#fileCaches(java.util.Collection
)
-
nextToken
DescribeFileCachesResponse.Builder nextToken(String 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.
-
-