Interface ListProfileResourceAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProfileResourceAssociationsResponse.Builder,ListProfileResourceAssociationsResponse>,Route53ProfilesResponse.Builder,SdkBuilder<ListProfileResourceAssociationsResponse.Builder,ListProfileResourceAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListProfileResourceAssociationsResponse
public static interface ListProfileResourceAssociationsResponse.Builder extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListProfileResourceAssociationsResponse.Builder,ListProfileResourceAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProfileResourceAssociationsResponse.BuildernextToken(String nextToken)If more thanMaxResultsresource associations match the specified criteria, you can submit anotherListProfileResourceAssociationsrequest to get the next group of results.ListProfileResourceAssociationsResponse.BuilderprofileResourceAssociations(Collection<ProfileResourceAssociation> profileResourceAssociations)Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.ListProfileResourceAssociationsResponse.BuilderprofileResourceAssociations(Consumer<ProfileResourceAssociation.Builder>... profileResourceAssociations)Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.ListProfileResourceAssociationsResponse.BuilderprofileResourceAssociations(ProfileResourceAssociation... profileResourceAssociations)Information about the profile resource association that you specified in aGetProfileResourceAssociationrequest.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListProfileResourceAssociationsResponse.Builder nextToken(String 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 to#profileResourceAssociations(List.) - 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:
#profileResourceAssociations(java.util.Collection)
-
-