Interface DescribeFileSystemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFileSystemsResponse.Builder,
,DescribeFileSystemsResponse> FSxResponse.Builder
,SdkBuilder<DescribeFileSystemsResponse.Builder,
,DescribeFileSystemsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFileSystemsResponse
public static interface DescribeFileSystemsResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<DescribeFileSystemsResponse.Builder,DescribeFileSystemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfileSystems
(Collection<FileSystem> fileSystems) An array of file system descriptions.fileSystems
(Consumer<FileSystem.Builder>... fileSystems) An array of file system descriptions.fileSystems
(FileSystem... fileSystems) An array of file system descriptions.Present if there are more file systems than returned in the response (String).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 Details
-
fileSystems
An array of file system descriptions.
- Parameters:
fileSystems
- An array of file system descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystems
An array of file system descriptions.
- Parameters:
fileSystems
- An array of file system descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystems
An array of file system descriptions.
This is a convenience method that creates an instance of theFileSystem.Builder
avoiding the need to create one manually viaFileSystem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileSystems(List<FileSystem>)
.- Parameters:
fileSystems
- a consumer that will call methods onFileSystem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Present if there are more file systems than returned in the response (String). You can use the
NextToken
value in the later request to fetch the descriptions.- Parameters:
nextToken
- Present if there are more file systems than returned in the response (String). You can use theNextToken
value in the later request to fetch the descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-