Interface DescribeAccessPointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAccessPointsResponse.Builder,
,DescribeAccessPointsResponse> EfsResponse.Builder
,SdkBuilder<DescribeAccessPointsResponse.Builder,
,DescribeAccessPointsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAccessPointsResponse
public static interface DescribeAccessPointsResponse.Builder
extends EfsResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccessPointsResponse.Builder,DescribeAccessPointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessPoints
(Collection<AccessPointDescription> accessPoints) An array of access point descriptions.accessPoints
(Consumer<AccessPointDescription.Builder>... accessPoints) An array of access point descriptions.accessPoints
(AccessPointDescription... accessPoints) An array of access point descriptions.Present if there are more access points than returned in the response.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
-
accessPoints
An array of access point descriptions.
- Parameters:
accessPoints
- An array of access point descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
An array of access point descriptions.
- Parameters:
accessPoints
- An array of access point descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
DescribeAccessPointsResponse.Builder accessPoints(Consumer<AccessPointDescription.Builder>... accessPoints) An array of access point descriptions.
This is a convenience method that creates an instance of theAccessPointDescription.Builder
avoiding the need to create one manually viaAccessPointDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessPoints(List<AccessPointDescription>)
.- Parameters:
accessPoints
- a consumer that will call methods onAccessPointDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Present if there are more access points than returned in the response. You can use the NextMarker in the subsequent request to fetch the additional descriptions.
- Parameters:
nextToken
- Present if there are more access points than returned in the response. You can use the NextMarker in the subsequent request to fetch the additional descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-