@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCustomLineItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCustomLineItemsResult() |
Modifier and Type | Method and Description |
---|---|
ListCustomLineItemsResult |
clone() |
boolean |
equals(Object obj) |
List<CustomLineItemListElement> |
getCustomLineItems()
A list of
FreeFormLineItemListElements received. |
String |
getNextToken()
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
|
int |
hashCode() |
void |
setCustomLineItems(Collection<CustomLineItemListElement> customLineItems)
A list of
FreeFormLineItemListElements received. |
void |
setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
|
String |
toString()
Returns a string representation of this object.
|
ListCustomLineItemsResult |
withCustomLineItems(Collection<CustomLineItemListElement> customLineItems)
A list of
FreeFormLineItemListElements received. |
ListCustomLineItemsResult |
withCustomLineItems(CustomLineItemListElement... customLineItems)
A list of
FreeFormLineItemListElements received. |
ListCustomLineItemsResult |
withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CustomLineItemListElement> getCustomLineItems()
A list of FreeFormLineItemListElements
received.
FreeFormLineItemListElements
received.public void setCustomLineItems(Collection<CustomLineItemListElement> customLineItems)
A list of FreeFormLineItemListElements
received.
customLineItems
- A list of FreeFormLineItemListElements
received.public ListCustomLineItemsResult withCustomLineItems(CustomLineItemListElement... customLineItems)
A list of FreeFormLineItemListElements
received.
NOTE: This method appends the values to the existing list (if any). Use
setCustomLineItems(java.util.Collection)
or withCustomLineItems(java.util.Collection)
if you
want to override the existing values.
customLineItems
- A list of FreeFormLineItemListElements
received.public ListCustomLineItemsResult withCustomLineItems(Collection<CustomLineItemListElement> customLineItems)
A list of FreeFormLineItemListElements
received.
customLineItems
- A list of FreeFormLineItemListElements
received.public void setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
nextToken
- The pagination token that's used on subsequent calls to get custom line items (FFLIs).public String getNextToken()
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
public ListCustomLineItemsResult withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
nextToken
- The pagination token that's used on subsequent calls to get custom line items (FFLIs).public String toString()
toString
in class Object
Object.toString()
public ListCustomLineItemsResult clone()