Interface AssociateProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateProfileResponse.Builder,,AssociateProfileResponse> Route53ProfilesResponse.Builder,SdkBuilder<AssociateProfileResponse.Builder,,AssociateProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateProfileResponse
public static interface AssociateProfileResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<AssociateProfileResponse.Builder,AssociateProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateProfileResponse.BuilderprofileAssociation(Consumer<ProfileAssociation.Builder> profileAssociation) The association that you just created.profileAssociation(ProfileAssociation profileAssociation) The association that you just created.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
The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.
- Parameters:
profileAssociation- The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAssociation
default AssociateProfileResponse.Builder profileAssociation(Consumer<ProfileAssociation.Builder> profileAssociation) The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.
This is a convenience method that creates an instance of theProfileAssociation.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:
-