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
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen 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.Builderavoiding the need to create one manually viaPrefixList.builder().When the
Consumercompletes,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:
-