Interface GetProfileAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetProfileAssociationResponse.Builder,,GetProfileAssociationResponse> Route53ProfilesResponse.Builder,SdkBuilder<GetProfileAssociationResponse.Builder,,GetProfileAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetProfileAssociationResponse
public static interface GetProfileAssociationResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetProfileAssociationResponse.Builder,GetProfileAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofileAssociation(Consumer<ProfileAssociation.Builder> profileAssociation) Information about the Profile association that you specified in aGetProfileAssociationrequest.profileAssociation(ProfileAssociation profileAssociation) Information about the Profile association that you specified in aGetProfileAssociationrequest.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
-
profileAssociation
Information about the Profile association that you specified in a
GetProfileAssociationrequest.- Parameters:
profileAssociation- Information about the Profile association that you specified in aGetProfileAssociationrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAssociation
default GetProfileAssociationResponse.Builder profileAssociation(Consumer<ProfileAssociation.Builder> profileAssociation) Information about the Profile association that you specified in a
This is a convenience method that creates an instance of theGetProfileAssociationrequest.ProfileAssociation.Builderavoiding the need to create one manually viaProfileAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofileAssociation(ProfileAssociation).- Parameters:
profileAssociation- 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:
-