@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListScheduleGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListScheduleGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListScheduleGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Indicates whether there are additional results to retrieve.
|
List<ScheduleGroupSummary> |
getScheduleGroups()
The schedule groups that match the specified criteria.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
void |
setScheduleGroups(Collection<ScheduleGroupSummary> scheduleGroups)
The schedule groups that match the specified criteria.
|
String |
toString()
Returns a string representation of this object.
|
ListScheduleGroupsResult |
withNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
ListScheduleGroupsResult |
withScheduleGroups(Collection<ScheduleGroupSummary> scheduleGroups)
The schedule groups that match the specified criteria.
|
ListScheduleGroupsResult |
withScheduleGroups(ScheduleGroupSummary... scheduleGroups)
The schedule groups that match the specified criteria.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
nextToken
- Indicates whether there are additional results to retrieve. If the value is null, there are no more
results.public String getNextToken()
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
public ListScheduleGroupsResult withNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
nextToken
- Indicates whether there are additional results to retrieve. If the value is null, there are no more
results.public List<ScheduleGroupSummary> getScheduleGroups()
The schedule groups that match the specified criteria.
public void setScheduleGroups(Collection<ScheduleGroupSummary> scheduleGroups)
The schedule groups that match the specified criteria.
scheduleGroups
- The schedule groups that match the specified criteria.public ListScheduleGroupsResult withScheduleGroups(ScheduleGroupSummary... scheduleGroups)
The schedule groups that match the specified criteria.
NOTE: This method appends the values to the existing list (if any). Use
setScheduleGroups(java.util.Collection)
or withScheduleGroups(java.util.Collection)
if you want
to override the existing values.
scheduleGroups
- The schedule groups that match the specified criteria.public ListScheduleGroupsResult withScheduleGroups(Collection<ScheduleGroupSummary> scheduleGroups)
The schedule groups that match the specified criteria.
scheduleGroups
- The schedule groups that match the specified criteria.public String toString()
toString
in class Object
Object.toString()
public ListScheduleGroupsResult clone()