Interface DisassociateProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisassociateProfileResponse.Builder,
,DisassociateProfileResponse> Route53ProfilesResponse.Builder
,SdkBuilder<DisassociateProfileResponse.Builder,
,DisassociateProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DisassociateProfileResponse
@Mutable
@NotThreadSafe
public static interface DisassociateProfileResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<DisassociateProfileResponse.Builder,DisassociateProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofileAssociation
(Consumer<ProfileAssociation.Builder> profileAssociation) Information about theDisassociateProfile
request.profileAssociation
(ProfileAssociation profileAssociation) Information about theDisassociateProfile
request.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
profileAssociation
Information about the
DisassociateProfile
request.- Parameters:
profileAssociation
- Information about theDisassociateProfile
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAssociation
default DisassociateProfileResponse.Builder profileAssociation(Consumer<ProfileAssociation.Builder> profileAssociation) Information about the
This is a convenience method that creates an instance of theDisassociateProfile
request.ProfileAssociation.Builder
avoiding the need to create one manually viaProfileAssociation.builder()
.When the
Consumer
completes,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:
-