Interface DescribeFileSystemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFileSystemsResponse.Builder,,DescribeFileSystemsResponse> FSxResponse.Builder,SdkBuilder<DescribeFileSystemsResponse.Builder,,DescribeFileSystemsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeFileSystemsResponse
@Mutable
@NotThreadSafe
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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaFileSystem.builder().When the
Consumercompletes,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
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.
-