@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateResourceResponseElement extends Object implements Serializable, Cloneable, StructuredPojo
A resource association result for a percentage custom line item.
| Constructor and Description |
|---|
AssociateResourceResponseElement() |
| Modifier and Type | Method and Description |
|---|---|
AssociateResourceResponseElement |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The resource ARN that was associated to the custom line item.
|
AssociateResourceError |
getError()
An
AssociateResourceError that will populate if the resource association fails. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The resource ARN that was associated to the custom line item.
|
void |
setError(AssociateResourceError error)
An
AssociateResourceError that will populate if the resource association fails. |
String |
toString()
Returns a string representation of this object.
|
AssociateResourceResponseElement |
withArn(String arn)
The resource ARN that was associated to the custom line item.
|
AssociateResourceResponseElement |
withError(AssociateResourceError error)
An
AssociateResourceError that will populate if the resource association fails. |
public void setArn(String arn)
The resource ARN that was associated to the custom line item.
arn - The resource ARN that was associated to the custom line item.public String getArn()
The resource ARN that was associated to the custom line item.
public AssociateResourceResponseElement withArn(String arn)
The resource ARN that was associated to the custom line item.
arn - The resource ARN that was associated to the custom line item.public void setError(AssociateResourceError error)
An AssociateResourceError that will populate if the resource association fails.
error - An AssociateResourceError that will populate if the resource association fails.public AssociateResourceError getError()
An AssociateResourceError that will populate if the resource association fails.
AssociateResourceError that will populate if the resource association fails.public AssociateResourceResponseElement withError(AssociateResourceError error)
An AssociateResourceError that will populate if the resource association fails.
error - An AssociateResourceError that will populate if the resource association fails.public String toString()
toString in class ObjectObject.toString()public AssociateResourceResponseElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.