@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDataSourceRunActivitiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDataSourceRunActivitiesResult() |
Modifier and Type | Method and Description |
---|---|
ListDataSourceRunActivitiesResult |
clone() |
boolean |
equals(Object obj) |
List<DataSourceRunActivity> |
getItems()
The results of the
ListDataSourceRunActivities action. |
String |
getNextToken()
When the number of activities is greater than the default value for the
MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of activities, the
response includes a pagination token named NextToken . |
int |
hashCode() |
void |
setItems(Collection<DataSourceRunActivity> items)
The results of the
ListDataSourceRunActivities action. |
void |
setNextToken(String nextToken)
When the number of activities is greater than the default value for the
MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of activities, the
response includes a pagination token named NextToken . |
String |
toString()
Returns a string representation of this object.
|
ListDataSourceRunActivitiesResult |
withItems(Collection<DataSourceRunActivity> items)
The results of the
ListDataSourceRunActivities action. |
ListDataSourceRunActivitiesResult |
withItems(DataSourceRunActivity... items)
The results of the
ListDataSourceRunActivities action. |
ListDataSourceRunActivitiesResult |
withNextToken(String nextToken)
When the number of activities is greater than the default value for the
MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of activities, the
response includes a pagination token named NextToken . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSourceRunActivity> getItems()
The results of the ListDataSourceRunActivities
action.
ListDataSourceRunActivities
action.public void setItems(Collection<DataSourceRunActivity> items)
The results of the ListDataSourceRunActivities
action.
items
- The results of the ListDataSourceRunActivities
action.public ListDataSourceRunActivitiesResult withItems(DataSourceRunActivity... items)
The results of the ListDataSourceRunActivities
action.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The results of the ListDataSourceRunActivities
action.public ListDataSourceRunActivitiesResult withItems(Collection<DataSourceRunActivity> items)
The results of the ListDataSourceRunActivities
action.
items
- The results of the ListDataSourceRunActivities
action.public void setNextToken(String nextToken)
When the number of activities is greater than the default value for the MaxResults
parameter, or if
you explicitly specify a value for MaxResults
that is less than the number of activities, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSourceRunActivities
to list the next set of activities.
nextToken
- When the number of activities is greater than the default value for the MaxResults
parameter,
or if you explicitly specify a value for MaxResults
that is less than the number of
activities, the response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListDataSourceRunActivities
to list the
next set of activities.public String getNextToken()
When the number of activities is greater than the default value for the MaxResults
parameter, or if
you explicitly specify a value for MaxResults
that is less than the number of activities, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSourceRunActivities
to list the next set of activities.
MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number
of activities, the response includes a pagination token named NextToken
. You can specify
this NextToken
value in a subsequent call to ListDataSourceRunActivities
to
list the next set of activities.public ListDataSourceRunActivitiesResult withNextToken(String nextToken)
When the number of activities is greater than the default value for the MaxResults
parameter, or if
you explicitly specify a value for MaxResults
that is less than the number of activities, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSourceRunActivities
to list the next set of activities.
nextToken
- When the number of activities is greater than the default value for the MaxResults
parameter,
or if you explicitly specify a value for MaxResults
that is less than the number of
activities, the response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListDataSourceRunActivities
to list the
next set of activities.public String toString()
toString
in class Object
Object.toString()
public ListDataSourceRunActivitiesResult clone()