@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 that's shown if the resource disassociation fails. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The resource ARN that was disassociated from the custom line item.
|
void |
setError(AssociateResourceError error)
An
AssociateResourceError that's 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 that's 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 that's shown if the resource disassociation fails.
error - An AssociateResourceError that's shown if the resource disassociation fails.public AssociateResourceError getError()
An AssociateResourceError that's shown if the resource disassociation fails.
AssociateResourceError that's shown if the resource disassociation fails.public DisassociateResourceResponseElement withError(AssociateResourceError error)
An AssociateResourceError that's shown if the resource disassociation fails.
error - An AssociateResourceError that's shown if the resource disassociation fails.public String toString()
toString in class ObjectObject.toString()public DisassociateResourceResponseElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.