Class ListSamplesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the result of a list samples request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.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.toString()
Returns a string representation of this object; useful for testing and debugging.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.withSamples
(Sample... samples) Information about the samples.withSamples
(Collection<Sample> samples) Information about the samples.
-
Constructor Details
-
ListSamplesResult
public ListSamplesResult()
-
-
Method Details
-
getSamples
Information about the samples.
- Returns:
- Information about the samples.
-
setSamples
Information about the samples.
- Parameters:
samples
- Information about the samples.
-
withSamples
Information about the samples.
NOTE: This method appends the values to the existing list (if any). Use
setSamples(java.util.Collection)
orwithSamples(java.util.Collection)
if you want to override the existing values.- Parameters:
samples
- Information about the samples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSamples
Information about the samples.
- Parameters:
samples
- Information about the samples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-