Interface DescribeMountTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMountTargetsResponse.Builder,
,DescribeMountTargetsResponse> EfsResponse.Builder
,SdkBuilder<DescribeMountTargetsResponse.Builder,
,DescribeMountTargetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeMountTargetsResponse
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 ofMountTargetDescription
objects.mountTargets
(Consumer<MountTargetDescription.Builder>... mountTargets) Returns the file system's mount targets as an array ofMountTargetDescription
objects.mountTargets
(MountTargetDescription... mountTargets) Returns the file system's mount targets as an array ofMountTargetDescription
objects.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
copy
Methods inherited from interface software.amazon.awssdk.services.efs.model.EfsResponse.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, sdkFields
Methods 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
MountTargetDescription
objects.- Parameters:
mountTargets
- Returns the file system's mount targets as an array ofMountTargetDescription
objects.- 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
MountTargetDescription
objects.- Parameters:
mountTargets
- Returns the file system's mount targets as an array ofMountTargetDescription
objects.- 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 theMountTargetDescription
objects.MountTargetDescription.Builder
avoiding the need to create one manually viaMountTargetDescription.builder()
.When the
Consumer
completes,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
Marker
in 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 provideMarker
in 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.
-