@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBackupPlansResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListBackupPlansResult() |
Modifier and Type | Method and Description |
---|---|
ListBackupPlansResult |
clone() |
boolean |
equals(Object obj) |
List<BackupPlansListMember> |
getBackupPlansList()
An array of backup plan list items containing metadata about your saved backup plans.
|
String |
getNextToken()
The next item following a partial list of returned items.
|
int |
hashCode() |
void |
setBackupPlansList(Collection<BackupPlansListMember> backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
|
void |
setNextToken(String nextToken)
The next item following a partial list of returned items.
|
String |
toString()
Returns a string representation of this object.
|
ListBackupPlansResult |
withBackupPlansList(BackupPlansListMember... backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
|
ListBackupPlansResult |
withBackupPlansList(Collection<BackupPlansListMember> backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
|
ListBackupPlansResult |
withNextToken(String nextToken)
The next item following a partial list of returned items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your
list starting at the location pointed to by the next token.public String getNextToken()
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
MaxResults
number of items, NextToken
allows you to return more items in your
list starting at the location pointed to by the next token.public ListBackupPlansResult withNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your
list starting at the location pointed to by the next token.public List<BackupPlansListMember> getBackupPlansList()
An array of backup plan list items containing metadata about your saved backup plans.
public void setBackupPlansList(Collection<BackupPlansListMember> backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
backupPlansList
- An array of backup plan list items containing metadata about your saved backup plans.public ListBackupPlansResult withBackupPlansList(BackupPlansListMember... backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
NOTE: This method appends the values to the existing list (if any). Use
setBackupPlansList(java.util.Collection)
or withBackupPlansList(java.util.Collection)
if you
want to override the existing values.
backupPlansList
- An array of backup plan list items containing metadata about your saved backup plans.public ListBackupPlansResult withBackupPlansList(Collection<BackupPlansListMember> backupPlansList)
An array of backup plan list items containing metadata about your saved backup plans.
backupPlansList
- An array of backup plan list items containing metadata about your saved backup plans.public String toString()
toString
in class Object
Object.toString()
public ListBackupPlansResult clone()