Interface UpdateProfileAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateProfileAssociationResponse.Builder,,UpdateProfileAssociationResponse> Route53ProfilesResponse.Builder,SdkBuilder<UpdateProfileAssociationResponse.Builder,,UpdateProfileAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateProfileAssociationResponse
@Mutable
@NotThreadSafe
public static interface UpdateProfileAssociationResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<UpdateProfileAssociationResponse.Builder,UpdateProfileAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofileAssociation(Consumer<ProfileAssociation.Builder> profileAssociation) Information about theUpdateProfileAssociationrequest, including a status message.profileAssociation(ProfileAssociation profileAssociation) Information about theUpdateProfileAssociationrequest, including a status message.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
profileAssociation
Information about the
UpdateProfileAssociationrequest, including a status message.- Parameters:
profileAssociation- Information about theUpdateProfileAssociationrequest, including a status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAssociation
default UpdateProfileAssociationResponse.Builder profileAssociation(Consumer<ProfileAssociation.Builder> profileAssociation) Information about the
This is a convenience method that creates an instance of theUpdateProfileAssociationrequest, including a status message.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:
-