Interface DisassociateResourceResponseElement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DisassociateResourceResponseElement.Builder,,DisassociateResourceResponseElement> SdkBuilder<DisassociateResourceResponseElement.Builder,,DisassociateResourceResponseElement> SdkPojo
- Enclosing class:
DisassociateResourceResponseElement
@Mutable
@NotThreadSafe
public static interface DisassociateResourceResponseElement.Builder
extends SdkPojo, CopyableBuilder<DisassociateResourceResponseElement.Builder,DisassociateResourceResponseElement>
-
Method Summary
Modifier and TypeMethodDescriptionThe resource ARN that was disassociated from the custom line item.AnAssociateResourceErrorthat's shown if the resource disassociation fails.error(AssociateResourceError error) AnAssociateResourceErrorthat's shown if the resource disassociation fails.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The resource ARN that was disassociated from the custom line item.
- Parameters:
arn- The resource ARN that was disassociated from the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An
AssociateResourceErrorthat's shown if the resource disassociation fails.- Parameters:
error- AnAssociateResourceErrorthat's shown if the resource disassociation fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default DisassociateResourceResponseElement.Builder error(Consumer<AssociateResourceError.Builder> error) An
This is a convenience method that creates an instance of theAssociateResourceErrorthat's shown if the resource disassociation fails.AssociateResourceError.Builderavoiding the need to create one manually viaAssociateResourceError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(AssociateResourceError).- Parameters:
error- a consumer that will call methods onAssociateResourceError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-