@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBackupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeBackupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBackupsResult |
clone() |
boolean |
equals(Object obj) |
List<Backup> |
getBackups()
Contains the response to a
DescribeBackups request. |
String |
getNextToken()
NextToken is a string that is returned in some command responses.
|
int |
hashCode() |
void |
setBackups(Collection<Backup> backups)
Contains the response to a
DescribeBackups request. |
void |
setNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeBackupsResult |
withBackups(Backup... backups)
Contains the response to a
DescribeBackups request. |
DescribeBackupsResult |
withBackups(Collection<Backup> backups)
Contains the response to a
DescribeBackups request. |
DescribeBackupsResult |
withNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Backup> getBackups()
Contains the response to a DescribeBackups
request.
DescribeBackups
request.public void setBackups(Collection<Backup> backups)
Contains the response to a DescribeBackups
request.
backups
- Contains the response to a DescribeBackups
request.public DescribeBackupsResult withBackups(Backup... backups)
Contains the response to a DescribeBackups
request.
NOTE: This method appends the values to the existing list (if any). Use
setBackups(java.util.Collection)
or withBackups(java.util.Collection)
if you want to override
the existing values.
backups
- Contains the response to a DescribeBackups
request.public DescribeBackupsResult withBackups(Collection<Backup> backups)
Contains the response to a DescribeBackups
request.
backups
- Contains the response to a DescribeBackups
request.public void setNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeBackups
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
nextToken
- NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeBackups
again, and assign the token from the previous results as the
value of the nextToken
parameter. If there are no more results, the response object's
nextToken
parameter value is null
. Setting a nextToken
value that
was not returned in your previous results causes an InvalidNextTokenException
to occur.public String getNextToken()
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeBackups
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
DescribeBackups
again, and assign the token from the previous results as the
value of the nextToken
parameter. If there are no more results, the response object's
nextToken
parameter value is null
. Setting a nextToken
value that
was not returned in your previous results causes an InvalidNextTokenException
to occur.public DescribeBackupsResult withNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeBackups
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
nextToken
- NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeBackups
again, and assign the token from the previous results as the
value of the nextToken
parameter. If there are no more results, the response object's
nextToken
parameter value is null
. Setting a nextToken
value that
was not returned in your previous results causes an InvalidNextTokenException
to occur.public String toString()
toString
in class Object
Object.toString()
public DescribeBackupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.