Interface DescribeMountTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMountTargetsResponse.Builder,,DescribeMountTargetsResponse> EfsResponse.Builder,SdkBuilder<DescribeMountTargetsResponse.Builder,,DescribeMountTargetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeMountTargetsResponse
@Mutable
@NotThreadSafe
public static interface DescribeMountTargetsResponse.Builder
extends EfsResponse.Builder, SdkPojo, CopyableBuilder<DescribeMountTargetsResponse.Builder,DescribeMountTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the request included theMarker, the response returns that value in this field.mountTargets(Collection<MountTargetDescription> mountTargets) Returns the file system's mount targets as an array ofMountTargetDescriptionobjects.mountTargets(Consumer<MountTargetDescription.Builder>... mountTargets) Returns the file system's mount targets as an array ofMountTargetDescriptionobjects.mountTargets(MountTargetDescription... mountTargets) Returns the file system's mount targets as an array ofMountTargetDescriptionobjects.nextMarker(String nextMarker) If a value is present, there are more mount targets to return.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.efs.model.EfsResponse.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
-
marker
If the request included the
Marker, the response returns that value in this field.- Parameters:
marker- If the request included theMarker, the response returns that value in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountTargets
Returns the file system's mount targets as an array of
MountTargetDescriptionobjects.- Parameters:
mountTargets- Returns the file system's mount targets as an array ofMountTargetDescriptionobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountTargets
Returns the file system's mount targets as an array of
MountTargetDescriptionobjects.- Parameters:
mountTargets- Returns the file system's mount targets as an array ofMountTargetDescriptionobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountTargets
DescribeMountTargetsResponse.Builder mountTargets(Consumer<MountTargetDescription.Builder>... mountTargets) Returns the file system's mount targets as an array of
This is a convenience method that creates an instance of theMountTargetDescriptionobjects.MountTargetDescription.Builderavoiding the need to create one manually viaMountTargetDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomountTargets(List<MountTargetDescription>).- Parameters:
mountTargets- a consumer that will call methods onMountTargetDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
If a value is present, there are more mount targets to return. In a subsequent request, you can provide
Markerin your request with this value to retrieve the next set of mount targets.- Parameters:
nextMarker- If a value is present, there are more mount targets to return. In a subsequent request, you can provideMarkerin your request with this value to retrieve the next set of mount targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-