Interface UpdateProfileResourceAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateProfileResourceAssociationResponse.Builder,,UpdateProfileResourceAssociationResponse> Route53ProfilesResponse.Builder,SdkBuilder<UpdateProfileResourceAssociationResponse.Builder,,UpdateProfileResourceAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateProfileResourceAssociationResponse
public static interface UpdateProfileResourceAssociationResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<UpdateProfileResourceAssociationResponse.Builder,UpdateProfileResourceAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofileResourceAssociation(Consumer<ProfileResourceAssociation.Builder> profileResourceAssociation) Information about theUpdateProfileResourceAssociationrequest, including a status message.profileResourceAssociation(ProfileResourceAssociation profileResourceAssociation) Information about theUpdateProfileResourceAssociationrequest, 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
profileResourceAssociation
UpdateProfileResourceAssociationResponse.Builder profileResourceAssociation(ProfileResourceAssociation profileResourceAssociation) Information about the
UpdateProfileResourceAssociationrequest, including a status message.- Parameters:
profileResourceAssociation- Information about theUpdateProfileResourceAssociationrequest, including a status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileResourceAssociation
default UpdateProfileResourceAssociationResponse.Builder profileResourceAssociation(Consumer<ProfileResourceAssociation.Builder> profileResourceAssociation) Information about the
This is a convenience method that creates an instance of theUpdateProfileResourceAssociationrequest, including a status message.ProfileResourceAssociation.Builderavoiding the need to create one manually viaProfileResourceAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofileResourceAssociation(ProfileResourceAssociation).- Parameters:
profileResourceAssociation- 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:
-