Interface DescribeManagedPrefixListsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeManagedPrefixListsResponse.Builder,
,DescribeManagedPrefixListsResponse> Ec2Response.Builder
,SdkBuilder<DescribeManagedPrefixListsResponse.Builder,
,DescribeManagedPrefixListsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeManagedPrefixListsResponse
public static interface DescribeManagedPrefixListsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeManagedPrefixListsResponse.Builder,DescribeManagedPrefixListsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.prefixLists
(Collection<ManagedPrefixList> prefixLists) Information about the prefix lists.prefixLists
(Consumer<ManagedPrefixList.Builder>... prefixLists) Information about the prefix lists.prefixLists
(ManagedPrefixList... prefixLists) Information about the prefix lists.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixLists
Information about the prefix lists.
- Parameters:
prefixLists
- Information about the prefix lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixLists
Information about the prefix lists.
- Parameters:
prefixLists
- Information about the prefix lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixLists
DescribeManagedPrefixListsResponse.Builder prefixLists(Consumer<ManagedPrefixList.Builder>... prefixLists) Information about the prefix lists.
This is a convenience method that creates an instance of theManagedPrefixList.Builder
avoiding the need to create one manually viaManagedPrefixList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprefixLists(List<ManagedPrefixList>)
.- Parameters:
prefixLists
- a consumer that will call methods onManagedPrefixList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-