Interface ListFileSystemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFileSystemsResponse.Builder,,ListFileSystemsResponse> S3FilesResponse.Builder,SdkBuilder<ListFileSystemsResponse.Builder,,ListFileSystemsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFileSystemsResponse
@Mutable
@NotThreadSafe
public static interface ListFileSystemsResponse.Builder
extends S3FilesResponse.Builder, SdkPojo, CopyableBuilder<ListFileSystemsResponse.Builder,ListFileSystemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfileSystems(Collection<ListFileSystemsDescription> fileSystems) An array of file system descriptions.fileSystems(Consumer<ListFileSystemsDescription.Builder>... fileSystems) An array of file system descriptions.fileSystems(ListFileSystemsDescription... fileSystems) An array of file system descriptions.A pagination token to use in a subsequent request if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3files.model.S3FilesResponse.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
-
nextToken
A pagination token to use in a subsequent request if more results are available.
- Parameters:
nextToken- A pagination token to use in a subsequent request if more results are available.- 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.
- Parameters:
fileSystems- An array of file system descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystems
ListFileSystemsResponse.Builder fileSystems(Consumer<ListFileSystemsDescription.Builder>... fileSystems) An array of file system descriptions.
This is a convenience method that creates an instance of theListFileSystemsDescription.Builderavoiding the need to create one manually viaListFileSystemsDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileSystems(List<ListFileSystemsDescription>).- Parameters:
fileSystems- a consumer that will call methods onListFileSystemsDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-