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