@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBackupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeBackupsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeBackupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBackupId()
Describes a single backup.
|
Integer |
getMaxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
String |
getNextToken()
NextToken is a string that is returned in some command responses.
|
String |
getServerName()
Returns backups for the server with the specified ServerName.
|
int |
hashCode() |
void |
setBackupId(String backupId)
Describes a single backup.
|
void |
setMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
void |
setNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
void |
setServerName(String serverName)
Returns backups for the server with the specified ServerName.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeBackupsRequest |
withBackupId(String backupId)
Describes a single backup.
|
DescribeBackupsRequest |
withMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
DescribeBackupsRequest |
withNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
DescribeBackupsRequest |
withServerName(String serverName)
Returns backups for the server with the specified ServerName.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBackupId(String backupId)
Describes a single backup.
backupId
- Describes a single backup.public String getBackupId()
Describes a single backup.
public DescribeBackupsRequest withBackupId(String backupId)
Describes a single backup.
backupId
- Describes a single backup.public void setServerName(String serverName)
Returns backups for the server with the specified ServerName.
serverName
- Returns backups for the server with the specified ServerName.public String getServerName()
Returns backups for the server with the specified ServerName.
public DescribeBackupsRequest withServerName(String serverName)
Returns backups for the server with the specified ServerName.
serverName
- Returns backups for the server with the specified ServerName.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 DescribeBackupsRequest 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 void setMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the NextToken
request parameter to get the next
set of results.
maxResults
- To receive a paginated response, use this parameter to specify the maximum number of results to be
returned with a single call. If the number of available results exceeds this maximum, the response
includes a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.public Integer getMaxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the NextToken
request parameter to get the next
set of results.
NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.public DescribeBackupsRequest withMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the NextToken
request parameter to get the next
set of results.
maxResults
- To receive a paginated response, use this parameter to specify the maximum number of results to be
returned with a single call. If the number of available results exceeds this maximum, the response
includes a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeBackupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.