@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBackupJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListBackupJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListBackupJobsResult |
clone() |
boolean |
equals(Object obj) |
List<BackupJob> |
getBackupJobs()
An array of structures containing metadata about your backup jobs returned in JSON format.
|
String |
getNextToken()
The next item following a partial list of returned items.
|
int |
hashCode() |
void |
setBackupJobs(Collection<BackupJob> backupJobs)
An array of structures containing metadata about your backup jobs returned in JSON format.
|
void |
setNextToken(String nextToken)
The next item following a partial list of returned items.
|
String |
toString()
Returns a string representation of this object.
|
ListBackupJobsResult |
withBackupJobs(BackupJob... backupJobs)
An array of structures containing metadata about your backup jobs returned in JSON format.
|
ListBackupJobsResult |
withBackupJobs(Collection<BackupJob> backupJobs)
An array of structures containing metadata about your backup jobs returned in JSON format.
|
ListBackupJobsResult |
withNextToken(String nextToken)
The next item following a partial list of returned items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BackupJob> getBackupJobs()
An array of structures containing metadata about your backup jobs returned in JSON format.
public void setBackupJobs(Collection<BackupJob> backupJobs)
An array of structures containing metadata about your backup jobs returned in JSON format.
backupJobs
- An array of structures containing metadata about your backup jobs returned in JSON format.public ListBackupJobsResult withBackupJobs(BackupJob... backupJobs)
An array of structures containing metadata about your backup jobs returned in JSON format.
NOTE: This method appends the values to the existing list (if any). Use
setBackupJobs(java.util.Collection)
or withBackupJobs(java.util.Collection)
if you want to
override the existing values.
backupJobs
- An array of structures containing metadata about your backup jobs returned in JSON format.public ListBackupJobsResult withBackupJobs(Collection<BackupJob> backupJobs)
An array of structures containing metadata about your backup jobs returned in JSON format.
backupJobs
- An array of structures containing metadata about your backup jobs returned in JSON format.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 ListBackupJobsResult 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 String toString()
toString
in class Object
Object.toString()
public ListBackupJobsResult clone()