Interface ListProfileResourceAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProfileResourceAssociationsResponse.Builder,,ListProfileResourceAssociationsResponse> Route53ProfilesResponse.Builder,SdkBuilder<ListProfileResourceAssociationsResponse.Builder,,ListProfileResourceAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProfileResourceAssociationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf more thanMaxResultsresource associations match the specified criteria, you can submit anotherListProfileResourceAssociationsrequest to get the next group of results.profileResourceAssociations(Collection<ProfileResourceAssociation> profileResourceAssociations) Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.profileResourceAssociations(Consumer<ProfileResourceAssociation.Builder>... profileResourceAssociations) Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.profileResourceAssociations(ProfileResourceAssociation... profileResourceAssociations) Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53profiles.model.Route53ProfilesResponse.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
If more than
MaxResultsresource associations match the specified criteria, you can submit anotherListProfileResourceAssociationsrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.- Parameters:
nextToken- If more thanMaxResultsresource associations match the specified criteria, you can submit anotherListProfileResourceAssociationsrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileResourceAssociations
ListProfileResourceAssociationsResponse.Builder profileResourceAssociations(Collection<ProfileResourceAssociation> profileResourceAssociations) Information about the profile resource association that you specified in a
GetProfileResourceAssociationrequest.- Parameters:
profileResourceAssociations- Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileResourceAssociations
ListProfileResourceAssociationsResponse.Builder profileResourceAssociations(ProfileResourceAssociation... profileResourceAssociations) Information about the profile resource association that you specified in a
GetProfileResourceAssociationrequest.- Parameters:
profileResourceAssociations- Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileResourceAssociations
ListProfileResourceAssociationsResponse.Builder profileResourceAssociations(Consumer<ProfileResourceAssociation.Builder>... profileResourceAssociations) Information about the profile resource association that you specified in a
This is a convenience method that creates an instance of theGetProfileResourceAssociationrequest.ProfileResourceAssociation.Builderavoiding the need to create one manually viaProfileResourceAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofileResourceAssociations(List<ProfileResourceAssociation>).- Parameters:
profileResourceAssociations- a consumer that will call methods onProfileResourceAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-