@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()
This is not currently implemented for
DescribeBackups requests. |
int |
hashCode() |
void |
setBackups(Collection<Backup> backups)
Contains the response to a
DescribeBackups request. |
void |
setNextToken(String nextToken)
This is not currently implemented for
DescribeBackups requests. |
String |
toString()
Returns a string representation of this object.
|
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)
This is not currently implemented for
DescribeBackups requests. |
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)
This is not currently implemented for DescribeBackups
requests.
nextToken
- This is not currently implemented for DescribeBackups
requests.public String getNextToken()
This is not currently implemented for DescribeBackups
requests.
DescribeBackups
requests.public DescribeBackupsResult withNextToken(String nextToken)
This is not currently implemented for DescribeBackups
requests.
nextToken
- This is not currently implemented for DescribeBackups
requests.public String toString()
toString
in class Object
Object.toString()
public DescribeBackupsResult clone()