@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourcesAssociatedToCustomLineItemResponseElement extends Object implements Serializable, Cloneable, StructuredPojo
A representation of a resource association for a custom line item.
Constructor and Description |
---|
ListResourcesAssociatedToCustomLineItemResponseElement() |
Modifier and Type | Method and Description |
---|---|
ListResourcesAssociatedToCustomLineItemResponseElement |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the associated resource.
|
String |
getEndBillingPeriod()
The end billing period of the associated resource.
|
String |
getRelationship()
The type of relationship between the custom line item and the associated resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the associated resource.
|
void |
setEndBillingPeriod(String endBillingPeriod)
The end billing period of the associated resource.
|
void |
setRelationship(String relationship)
The type of relationship between the custom line item and the associated resource.
|
String |
toString()
Returns a string representation of this object.
|
ListResourcesAssociatedToCustomLineItemResponseElement |
withArn(String arn)
The ARN of the associated resource.
|
ListResourcesAssociatedToCustomLineItemResponseElement |
withEndBillingPeriod(String endBillingPeriod)
The end billing period of the associated resource.
|
ListResourcesAssociatedToCustomLineItemResponseElement |
withRelationship(CustomLineItemRelationship relationship)
The type of relationship between the custom line item and the associated resource.
|
ListResourcesAssociatedToCustomLineItemResponseElement |
withRelationship(String relationship)
The type of relationship between the custom line item and the associated resource.
|
public ListResourcesAssociatedToCustomLineItemResponseElement()
public void setArn(String arn)
The ARN of the associated resource.
arn
- The ARN of the associated resource.public String getArn()
The ARN of the associated resource.
public ListResourcesAssociatedToCustomLineItemResponseElement withArn(String arn)
The ARN of the associated resource.
arn
- The ARN of the associated resource.public void setRelationship(String relationship)
The type of relationship between the custom line item and the associated resource.
relationship
- The type of relationship between the custom line item and the associated resource.CustomLineItemRelationship
public String getRelationship()
The type of relationship between the custom line item and the associated resource.
CustomLineItemRelationship
public ListResourcesAssociatedToCustomLineItemResponseElement withRelationship(String relationship)
The type of relationship between the custom line item and the associated resource.
relationship
- The type of relationship between the custom line item and the associated resource.CustomLineItemRelationship
public ListResourcesAssociatedToCustomLineItemResponseElement withRelationship(CustomLineItemRelationship relationship)
The type of relationship between the custom line item and the associated resource.
relationship
- The type of relationship between the custom line item and the associated resource.CustomLineItemRelationship
public void setEndBillingPeriod(String endBillingPeriod)
The end billing period of the associated resource.
endBillingPeriod
- The end billing period of the associated resource.public String getEndBillingPeriod()
The end billing period of the associated resource.
public ListResourcesAssociatedToCustomLineItemResponseElement withEndBillingPeriod(String endBillingPeriod)
The end billing period of the associated resource.
endBillingPeriod
- The end billing period of the associated resource.public String toString()
toString
in class Object
Object.toString()
public ListResourcesAssociatedToCustomLineItemResponseElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.