@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSamplesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the result of a list samples request.
Constructor and Description |
---|
ListSamplesResult() |
Modifier and Type | Method and Description |
---|---|
ListSamplesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
List<Sample> |
getSamples()
Information about the samples.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
void |
setSamples(Collection<Sample> samples)
Information about the samples.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListSamplesResult |
withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
ListSamplesResult |
withSamples(Collection<Sample> samples)
Information about the samples.
|
ListSamplesResult |
withSamples(Sample... samples)
Information about the samples.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Sample> getSamples()
Information about the samples.
public void setSamples(Collection<Sample> samples)
Information about the samples.
samples
- Information about the samples.public ListSamplesResult withSamples(Sample... samples)
Information about the samples.
NOTE: This method appends the values to the existing list (if any). Use
setSamples(java.util.Collection)
or withSamples(java.util.Collection)
if you want to override
the existing values.
samples
- Information about the samples.public ListSamplesResult withSamples(Collection<Sample> samples)
Information about the samples.
samples
- Information about the samples.public void setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned, which can be used in a subsequent call to this operation to return the next set of items in the
list.public String getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public ListSamplesResult withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned, which can be used in a subsequent call to this operation to return the next set of items in the
list.public String toString()
toString
in class Object
Object.toString()
public ListSamplesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.