Interface ListProfileAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProfileAssociationsResponse.Builder,
,ListProfileAssociationsResponse> Route53ProfilesResponse.Builder
,SdkBuilder<ListProfileAssociationsResponse.Builder,
,ListProfileAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProfileAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListProfileAssociationsResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListProfileAssociationsResponse.Builder,ListProfileAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf more thanMaxResults
profile associations match the specified criteria, you can submit anotherListProfileAssociations
request to get the next group of results.profileAssociations
(Collection<ProfileAssociation> profileAssociations) A complex type that containts settings information about the profile's VPC associations.profileAssociations
(Consumer<ProfileAssociation.Builder>... profileAssociations) A complex type that containts settings information about the profile's VPC associations.profileAssociations
(ProfileAssociation... profileAssociations) A complex type that containts settings information about the profile's VPC associations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53profiles.model.Route53ProfilesResponse.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 Details
-
nextToken
If more than
MaxResults
profile associations match the specified criteria, you can submit anotherListProfileAssociations
request to get the next group of results. In the next request, specify the value ofNextToken
from the previous response.- Parameters:
nextToken
- If more thanMaxResults
profile associations match the specified criteria, you can submit anotherListProfileAssociations
request to get the next group of results. In the next request, specify the value ofNextToken
from the previous response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAssociations
ListProfileAssociationsResponse.Builder profileAssociations(Collection<ProfileAssociation> profileAssociations) A complex type that containts settings information about the profile's VPC associations.
- Parameters:
profileAssociations
- A complex type that containts settings information about the profile's VPC associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAssociations
ListProfileAssociationsResponse.Builder profileAssociations(ProfileAssociation... profileAssociations) A complex type that containts settings information about the profile's VPC associations.
- Parameters:
profileAssociations
- A complex type that containts settings information about the profile's VPC associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAssociations
ListProfileAssociationsResponse.Builder profileAssociations(Consumer<ProfileAssociation.Builder>... profileAssociations) A complex type that containts settings information about the profile's VPC associations.
This is a convenience method that creates an instance of theProfileAssociation.Builder
avoiding the need to create one manually viaProfileAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofileAssociations(List<ProfileAssociation>)
.- Parameters:
profileAssociations
- a consumer that will call methods onProfileAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-