Interface DescribePrefixListsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribePrefixListsResponse.Builder,
,DescribePrefixListsResponse> Ec2Response.Builder
,SdkBuilder<DescribePrefixListsResponse.Builder,
,DescribePrefixListsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribePrefixListsResponse
public static interface DescribePrefixListsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribePrefixListsResponse.Builder,DescribePrefixListsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.prefixLists
(Collection<PrefixList> prefixLists) All available prefix lists.prefixLists
(Consumer<PrefixList.Builder>... prefixLists) All available prefix lists.prefixLists
(PrefixList... prefixLists) All available 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
All available prefix lists.
- Parameters:
prefixLists
- All available prefix lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixLists
All available prefix lists.
- Parameters:
prefixLists
- All available prefix lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixLists
All available prefix lists.
This is a convenience method that creates an instance of thePrefixList.Builder
avoiding the need to create one manually viaPrefixList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprefixLists(List<PrefixList>)
.- Parameters:
prefixLists
- a consumer that will call methods onPrefixList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-