Interface DisassociateResourceFromProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateResourceFromProfileResponse.Builder,,DisassociateResourceFromProfileResponse> Route53ProfilesResponse.Builder,SdkBuilder<DisassociateResourceFromProfileResponse.Builder,,DisassociateResourceFromProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateResourceFromProfileResponse
public static interface DisassociateResourceFromProfileResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<DisassociateResourceFromProfileResponse.Builder,DisassociateResourceFromProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofileResourceAssociation(Consumer<ProfileResourceAssociation.Builder> profileResourceAssociation) Information about theDisassociateResourceFromProfilerequest, including the status of the request.profileResourceAssociation(ProfileResourceAssociation profileResourceAssociation) Information about theDisassociateResourceFromProfilerequest, including the status of the request.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
DisassociateResourceFromProfileResponse.Builder profileResourceAssociation(ProfileResourceAssociation profileResourceAssociation) Information about the
DisassociateResourceFromProfilerequest, including the status of the request.- Parameters:
profileResourceAssociation- Information about theDisassociateResourceFromProfilerequest, 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 theDisassociateResourceFromProfilerequest, including the status of the request.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:
-