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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeFileSystemsResponse.BuilderfileSystems(Collection<FileSystem> fileSystems)An array of file system descriptions.DescribeFileSystemsResponse.BuilderfileSystems(Consumer<FileSystem.Builder>... fileSystems)An array of file system descriptions.DescribeFileSystemsResponse.BuilderfileSystems(FileSystem... fileSystems)An array of file system descriptions.DescribeFileSystemsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fileSystems
DescribeFileSystemsResponse.Builder fileSystems(Collection<FileSystem> 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
DescribeFileSystemsResponse.Builder fileSystems(FileSystem... 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
DescribeFileSystemsResponse.Builder fileSystems(Consumer<FileSystem.Builder>... fileSystems)
An array of file system descriptions.
This is a convenience method that creates an instance of theFileSystem.Builderavoiding the need to create one manually viaFileSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fileSystems(List.) - 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:
#fileSystems(java.util.Collection)
-
nextToken
DescribeFileSystemsResponse.Builder nextToken(String nextToken)
Present if there are more file systems than returned in the response (String). You can use the
NextTokenvalue 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 theNextTokenvalue in the later request to fetch the descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-