@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisassociateResourceResponseElement extends Object implements Serializable, Cloneable, StructuredPojo
A resource disassociation result for a percentage custom line item.
| Constructor and Description |
|---|
DisassociateResourceResponseElement() |
| Modifier and Type | Method and Description |
|---|---|
DisassociateResourceResponseElement |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The resource ARN that was disassociated from the custom line item.
|
AssociateResourceError |
getError()
An
AssociateResourceError shown if the resource disassociation fails. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The resource ARN that was disassociated from the custom line item.
|
void |
setError(AssociateResourceError error)
An
AssociateResourceError shown if the resource disassociation fails. |
String |
toString()
Returns a string representation of this object.
|
DisassociateResourceResponseElement |
withArn(String arn)
The resource ARN that was disassociated from the custom line item.
|
DisassociateResourceResponseElement |
withError(AssociateResourceError error)
An
AssociateResourceError shown if the resource disassociation fails. |
public void setArn(String arn)
The resource ARN that was disassociated from the custom line item.
arn - The resource ARN that was disassociated from the custom line item.public String getArn()
The resource ARN that was disassociated from the custom line item.
public DisassociateResourceResponseElement withArn(String arn)
The resource ARN that was disassociated from the custom line item.
arn - The resource ARN that was disassociated from the custom line item.public void setError(AssociateResourceError error)
An AssociateResourceError shown if the resource disassociation fails.
error - An AssociateResourceError shown if the resource disassociation fails.public AssociateResourceError getError()
An AssociateResourceError shown if the resource disassociation fails.
AssociateResourceError shown if the resource disassociation fails.public DisassociateResourceResponseElement withError(AssociateResourceError error)
An AssociateResourceError shown if the resource disassociation fails.
error - An AssociateResourceError shown if the resource disassociation fails.public String toString()
toString in class ObjectObject.toString()public DisassociateResourceResponseElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.