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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetManagedPrefixListAssociationsResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.GetManagedPrefixListAssociationsResponse.BuilderprefixListAssociations(Collection<PrefixListAssociation> prefixListAssociations)Information about the associations.GetManagedPrefixListAssociationsResponse.BuilderprefixListAssociations(Consumer<PrefixListAssociation.Builder>... prefixListAssociations)Information about the associations.GetManagedPrefixListAssociationsResponse.BuilderprefixListAssociations(PrefixListAssociation... prefixListAssociations)Information about the associations.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#prefixListAssociations(List.) - 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:
#prefixListAssociations(java.util.Collection)
-
nextToken
GetManagedPrefixListAssociationsResponse.Builder nextToken(String 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.
-
-