Interface ListMountTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMountTargetsResponse.Builder,,ListMountTargetsResponse> S3FilesResponse.Builder,SdkBuilder<ListMountTargetsResponse.Builder,,ListMountTargetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMountTargetsResponse
@Mutable
@NotThreadSafe
public static interface ListMountTargetsResponse.Builder
extends S3FilesResponse.Builder, SdkPojo, CopyableBuilder<ListMountTargetsResponse.Builder,ListMountTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmountTargets(Collection<ListMountTargetsDescription> mountTargets) An array of mount target descriptions.mountTargets(Consumer<ListMountTargetsDescription.Builder>... mountTargets) An array of mount target descriptions.mountTargets(ListMountTargetsDescription... mountTargets) An array of mount target 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.
-
mountTargets
An array of mount target descriptions.
- Parameters:
mountTargets- An array of mount target descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountTargets
An array of mount target descriptions.
- Parameters:
mountTargets- An array of mount target descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountTargets
ListMountTargetsResponse.Builder mountTargets(Consumer<ListMountTargetsDescription.Builder>... mountTargets) An array of mount target descriptions.
This is a convenience method that creates an instance of theListMountTargetsDescription.Builderavoiding the need to create one manually viaListMountTargetsDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomountTargets(List<ListMountTargetsDescription>).- Parameters:
mountTargets- a consumer that will call methods onListMountTargetsDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-