Interface GetManagedPrefixListAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetManagedPrefixListAssociationsResponse.Builder,,GetManagedPrefixListAssociationsResponse> Ec2Response.Builder,SdkBuilder<GetManagedPrefixListAssociationsResponse.Builder,,GetManagedPrefixListAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetManagedPrefixListAssociationsResponse
@Mutable
@NotThreadSafe
public static interface GetManagedPrefixListAssociationsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetManagedPrefixListAssociationsResponse.Builder,GetManagedPrefixListAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.prefixListAssociations(Collection<PrefixListAssociation> prefixListAssociations) Information about the associations.prefixListAssociations(Consumer<PrefixListAssociation.Builder>... prefixListAssociations) Information about the associations.prefixListAssociations(PrefixListAssociation... prefixListAssociations) Information about the associations.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
prefixListAssociations
GetManagedPrefixListAssociationsResponse.Builder prefixListAssociations(Collection<PrefixListAssociation> prefixListAssociations) Information about the associations.
- Parameters:
prefixListAssociations- Information about the associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListAssociations
GetManagedPrefixListAssociationsResponse.Builder prefixListAssociations(PrefixListAssociation... prefixListAssociations) Information about the associations.
- Parameters:
prefixListAssociations- Information about the associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListAssociations
GetManagedPrefixListAssociationsResponse.Builder prefixListAssociations(Consumer<PrefixListAssociation.Builder>... prefixListAssociations) Information about the associations.
This is a convenience method that creates an instance of thePrefixListAssociation.Builderavoiding the need to create one manually viaPrefixListAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprefixListAssociations(List<PrefixListAssociation>).- Parameters:
prefixListAssociations- a consumer that will call methods onPrefixListAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-