@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListObjectivesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListObjectivesResult() |
Modifier and Type | Method and Description |
---|---|
ListObjectivesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token that's used to fetch the next set of results.
|
List<ObjectiveSummary> |
getObjectives()
The list of objectives that the
ListObjectives API returns. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
void |
setObjectives(Collection<ObjectiveSummary> objectives)
The list of objectives that the
ListObjectives API returns. |
String |
toString()
Returns a string representation of this object.
|
ListObjectivesResult |
withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
ListObjectivesResult |
withObjectives(Collection<ObjectiveSummary> objectives)
The list of objectives that the
ListObjectives API returns. |
ListObjectivesResult |
withObjectives(ObjectiveSummary... objectives)
The list of objectives that the
ListObjectives API returns. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken
- The pagination token that's used to fetch the next set of results.public String getNextToken()
The pagination token that's used to fetch the next set of results.
public ListObjectivesResult withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken
- The pagination token that's used to fetch the next set of results.public List<ObjectiveSummary> getObjectives()
The list of objectives that the ListObjectives
API returns.
ListObjectives
API returns.public void setObjectives(Collection<ObjectiveSummary> objectives)
The list of objectives that the ListObjectives
API returns.
objectives
- The list of objectives that the ListObjectives
API returns.public ListObjectivesResult withObjectives(ObjectiveSummary... objectives)
The list of objectives that the ListObjectives
API returns.
NOTE: This method appends the values to the existing list (if any). Use
setObjectives(java.util.Collection)
or withObjectives(java.util.Collection)
if you want to
override the existing values.
objectives
- The list of objectives that the ListObjectives
API returns.public ListObjectivesResult withObjectives(Collection<ObjectiveSummary> objectives)
The list of objectives that the ListObjectives
API returns.
objectives
- The list of objectives that the ListObjectives
API returns.public String toString()
toString
in class Object
Object.toString()
public ListObjectivesResult clone()