Interface DisassociateResourceFromProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisassociateResourceFromProfileResponse.Builder,
,DisassociateResourceFromProfileResponse> Route53ProfilesResponse.Builder
,SdkBuilder<DisassociateResourceFromProfileResponse.Builder,
,DisassociateResourceFromProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DisassociateResourceFromProfileResponse
@Mutable
@NotThreadSafe
public static interface DisassociateResourceFromProfileResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<DisassociateResourceFromProfileResponse.Builder,DisassociateResourceFromProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofileResourceAssociation
(Consumer<ProfileResourceAssociation.Builder> profileResourceAssociation) Information about theDisassociateResourceFromProfile
request, including the status of the request.profileResourceAssociation
(ProfileResourceAssociation profileResourceAssociation) Information about theDisassociateResourceFromProfile
request, including the status of the 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
-
profileResourceAssociation
DisassociateResourceFromProfileResponse.Builder profileResourceAssociation(ProfileResourceAssociation profileResourceAssociation) Information about the
DisassociateResourceFromProfile
request, including the status of the request.- Parameters:
profileResourceAssociation
- Information about theDisassociateResourceFromProfile
request, including the status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileResourceAssociation
default DisassociateResourceFromProfileResponse.Builder profileResourceAssociation(Consumer<ProfileResourceAssociation.Builder> profileResourceAssociation) Information about the
This is a convenience method that creates an instance of theDisassociateResourceFromProfile
request, including the status of the request.ProfileResourceAssociation.Builder
avoiding the need to create one manually viaProfileResourceAssociation.builder()
.When the
Consumer
completes,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:
-