@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourcesAssociatedToCustomLineItemResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourcesAssociatedToCustomLineItemResult() |
Modifier and Type | Method and Description |
---|---|
ListResourcesAssociatedToCustomLineItemResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The custom line item ARN for which the resource associations are listed.
|
List<ListResourcesAssociatedToCustomLineItemResponseElement> |
getAssociatedResources()
A list of
ListResourcesAssociatedToCustomLineItemResponseElement for each resource association
retrieved. |
String |
getNextToken()
The pagination token to be used in subsequent requests to retrieve additional results.
|
int |
hashCode() |
void |
setArn(String arn)
The custom line item ARN for which the resource associations are listed.
|
void |
setAssociatedResources(Collection<ListResourcesAssociatedToCustomLineItemResponseElement> associatedResources)
A list of
ListResourcesAssociatedToCustomLineItemResponseElement for each resource association
retrieved. |
void |
setNextToken(String nextToken)
The pagination token to be used in subsequent requests to retrieve additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListResourcesAssociatedToCustomLineItemResult |
withArn(String arn)
The custom line item ARN for which the resource associations are listed.
|
ListResourcesAssociatedToCustomLineItemResult |
withAssociatedResources(Collection<ListResourcesAssociatedToCustomLineItemResponseElement> associatedResources)
A list of
ListResourcesAssociatedToCustomLineItemResponseElement for each resource association
retrieved. |
ListResourcesAssociatedToCustomLineItemResult |
withAssociatedResources(ListResourcesAssociatedToCustomLineItemResponseElement... associatedResources)
A list of
ListResourcesAssociatedToCustomLineItemResponseElement for each resource association
retrieved. |
ListResourcesAssociatedToCustomLineItemResult |
withNextToken(String nextToken)
The pagination token to be used in subsequent requests to retrieve additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListResourcesAssociatedToCustomLineItemResult()
public void setArn(String arn)
The custom line item ARN for which the resource associations are listed.
arn
- The custom line item ARN for which the resource associations are listed.public String getArn()
The custom line item ARN for which the resource associations are listed.
public ListResourcesAssociatedToCustomLineItemResult withArn(String arn)
The custom line item ARN for which the resource associations are listed.
arn
- The custom line item ARN for which the resource associations are listed.public List<ListResourcesAssociatedToCustomLineItemResponseElement> getAssociatedResources()
A list of ListResourcesAssociatedToCustomLineItemResponseElement
for each resource association
retrieved.
ListResourcesAssociatedToCustomLineItemResponseElement
for each resource
association retrieved.public void setAssociatedResources(Collection<ListResourcesAssociatedToCustomLineItemResponseElement> associatedResources)
A list of ListResourcesAssociatedToCustomLineItemResponseElement
for each resource association
retrieved.
associatedResources
- A list of ListResourcesAssociatedToCustomLineItemResponseElement
for each resource
association retrieved.public ListResourcesAssociatedToCustomLineItemResult withAssociatedResources(ListResourcesAssociatedToCustomLineItemResponseElement... associatedResources)
A list of ListResourcesAssociatedToCustomLineItemResponseElement
for each resource association
retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedResources(java.util.Collection)
or withAssociatedResources(java.util.Collection)
if you want to override the existing values.
associatedResources
- A list of ListResourcesAssociatedToCustomLineItemResponseElement
for each resource
association retrieved.public ListResourcesAssociatedToCustomLineItemResult withAssociatedResources(Collection<ListResourcesAssociatedToCustomLineItemResponseElement> associatedResources)
A list of ListResourcesAssociatedToCustomLineItemResponseElement
for each resource association
retrieved.
associatedResources
- A list of ListResourcesAssociatedToCustomLineItemResponseElement
for each resource
association retrieved.public void setNextToken(String nextToken)
The pagination token to be used in subsequent requests to retrieve additional results.
nextToken
- The pagination token to be used in subsequent requests to retrieve additional results.public String getNextToken()
The pagination token to be used in subsequent requests to retrieve additional results.
public ListResourcesAssociatedToCustomLineItemResult withNextToken(String nextToken)
The pagination token to be used in subsequent requests to retrieve additional results.
nextToken
- The pagination token to be used in subsequent requests to retrieve additional results.public String toString()
toString
in class Object
Object.toString()
public ListResourcesAssociatedToCustomLineItemResult clone()