@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetOutcomesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetOutcomesResult() |
Modifier and Type | Method and Description |
---|---|
GetOutcomesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The next page token for subsequent requests.
|
List<Outcome> |
getOutcomes()
The outcomes.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The next page token for subsequent requests.
|
void |
setOutcomes(Collection<Outcome> outcomes)
The outcomes.
|
String |
toString()
Returns a string representation of this object.
|
GetOutcomesResult |
withNextToken(String nextToken)
The next page token for subsequent requests.
|
GetOutcomesResult |
withOutcomes(Collection<Outcome> outcomes)
The outcomes.
|
GetOutcomesResult |
withOutcomes(Outcome... outcomes)
The outcomes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOutcomes(Collection<Outcome> outcomes)
The outcomes.
outcomes
- The outcomes.public GetOutcomesResult withOutcomes(Outcome... outcomes)
The outcomes.
NOTE: This method appends the values to the existing list (if any). Use
setOutcomes(java.util.Collection)
or withOutcomes(java.util.Collection)
if you want to override
the existing values.
outcomes
- The outcomes.public GetOutcomesResult withOutcomes(Collection<Outcome> outcomes)
The outcomes.
outcomes
- The outcomes.public void setNextToken(String nextToken)
The next page token for subsequent requests.
nextToken
- The next page token for subsequent requests.public String getNextToken()
The next page token for subsequent requests.
public GetOutcomesResult withNextToken(String nextToken)
The next page token for subsequent requests.
nextToken
- The next page token for subsequent requests.public String toString()
toString
in class Object
Object.toString()
public GetOutcomesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.