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 thanMaxResults
resource associations match the specified criteria, you can submit anotherListProfileResourceAssociations
request to get the next group of results.profileResourceAssociations
(Collection<ProfileResourceAssociation> profileResourceAssociations) Information about the profile resource association that you specified in aGetProfileResourceAssociation
request.profileResourceAssociations
(Consumer<ProfileResourceAssociation.Builder>... profileResourceAssociations) Information about the profile resource association that you specified in aGetProfileResourceAssociation
request.profileResourceAssociations
(ProfileResourceAssociation... profileResourceAssociations) Information about the profile resource association that you specified in aGetProfileResourceAssociation
request.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
resource associations match the specified criteria, you can submit anotherListProfileResourceAssociations
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
resource associations match the specified criteria, you can submit anotherListProfileResourceAssociations
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.
-
profileResourceAssociations
ListProfileResourceAssociationsResponse.Builder profileResourceAssociations(Collection<ProfileResourceAssociation> profileResourceAssociations) Information about the profile resource association that you specified in a
GetProfileResourceAssociation
request.- Parameters:
profileResourceAssociations
- Information about the profile resource association that you specified in aGetProfileResourceAssociation
request.- 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
GetProfileResourceAssociation
request.- Parameters:
profileResourceAssociations
- Information about the profile resource association that you specified in aGetProfileResourceAssociation
request.- 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 theGetProfileResourceAssociation
request.ProfileResourceAssociation.Builder
avoiding the need to create one manually viaProfileResourceAssociation.builder()
.When the
Consumer
completes,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:
-