@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourcesAssociatedToCustomLineItemFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter that specifies the type of resource associations that should be retrieved for a custom line item.
Constructor and Description |
---|
ListResourcesAssociatedToCustomLineItemFilter() |
Modifier and Type | Method and Description |
---|---|
ListResourcesAssociatedToCustomLineItemFilter |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
ListResourcesAssociatedToCustomLineItemFilter |
withRelationship(CustomLineItemRelationship relationship)
The type of relationship between the custom line item and the associated resource.
|
ListResourcesAssociatedToCustomLineItemFilter |
withRelationship(String relationship)
The type of relationship between the custom line item and the associated resource.
|
public ListResourcesAssociatedToCustomLineItemFilter()
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 ListResourcesAssociatedToCustomLineItemFilter 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 ListResourcesAssociatedToCustomLineItemFilter 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 String toString()
toString
in class Object
Object.toString()
public ListResourcesAssociatedToCustomLineItemFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.