@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBackupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request object for DescribeBackups operation.
NOOP| Constructor and Description |
|---|
DescribeBackupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeBackupsRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getBackupIds()
IDs of the backups you want to retrieve (String).
|
List<Filter> |
getFilters()
Filters structure.
|
Integer |
getMaxResults()
Maximum number of backups to return in the response (integer).
|
String |
getNextToken()
Opaque pagination token returned from a previous
DescribeBackups operation (String). |
int |
hashCode() |
void |
setBackupIds(Collection<String> backupIds)
IDs of the backups you want to retrieve (String).
|
void |
setFilters(Collection<Filter> filters)
Filters structure.
|
void |
setMaxResults(Integer maxResults)
Maximum number of backups to return in the response (integer).
|
void |
setNextToken(String nextToken)
Opaque pagination token returned from a previous
DescribeBackups operation (String). |
String |
toString()
Returns a string representation of this object.
|
DescribeBackupsRequest |
withBackupIds(Collection<String> backupIds)
IDs of the backups you want to retrieve (String).
|
DescribeBackupsRequest |
withBackupIds(String... backupIds)
IDs of the backups you want to retrieve (String).
|
DescribeBackupsRequest |
withFilters(Collection<Filter> filters)
Filters structure.
|
DescribeBackupsRequest |
withFilters(Filter... filters)
Filters structure.
|
DescribeBackupsRequest |
withMaxResults(Integer maxResults)
Maximum number of backups to return in the response (integer).
|
DescribeBackupsRequest |
withNextToken(String nextToken)
Opaque pagination token returned from a previous
DescribeBackups operation (String). |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic List<String> getBackupIds()
IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found, BackupNotFound will be thrown.
public void setBackupIds(Collection<String> backupIds)
IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found, BackupNotFound will be thrown.
backupIds - IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found,
BackupNotFound will be thrown.public DescribeBackupsRequest withBackupIds(String... backupIds)
IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found, BackupNotFound will be thrown.
NOTE: This method appends the values to the existing list (if any). Use
setBackupIds(java.util.Collection) or withBackupIds(java.util.Collection) if you want to
override the existing values.
backupIds - IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found,
BackupNotFound will be thrown.public DescribeBackupsRequest withBackupIds(Collection<String> backupIds)
IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found, BackupNotFound will be thrown.
backupIds - IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found,
BackupNotFound will be thrown.public List<Filter> getFilters()
Filters structure. Supported names are file-system-id and backup-type.
public void setFilters(Collection<Filter> filters)
Filters structure. Supported names are file-system-id and backup-type.
filters - Filters structure. Supported names are file-system-id and backup-type.public DescribeBackupsRequest withFilters(Filter... filters)
Filters structure. Supported names are file-system-id and backup-type.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
filters - Filters structure. Supported names are file-system-id and backup-type.public DescribeBackupsRequest withFilters(Collection<Filter> filters)
Filters structure. Supported names are file-system-id and backup-type.
filters - Filters structure. Supported names are file-system-id and backup-type.public void setMaxResults(Integer maxResults)
Maximum number of backups to return in the response (integer). This parameter value must be greater than 0. The
number of items that Amazon FSx returns is the minimum of the MaxResults parameter specified in the
request and the service's internal maximum number of items per page.
maxResults - Maximum number of backups to return in the response (integer). This parameter value must be greater than
0. The number of items that Amazon FSx returns is the minimum of the MaxResults parameter
specified in the request and the service's internal maximum number of items per page.public Integer getMaxResults()
Maximum number of backups to return in the response (integer). This parameter value must be greater than 0. The
number of items that Amazon FSx returns is the minimum of the MaxResults parameter specified in the
request and the service's internal maximum number of items per page.
MaxResults parameter
specified in the request and the service's internal maximum number of items per page.public DescribeBackupsRequest withMaxResults(Integer maxResults)
Maximum number of backups to return in the response (integer). This parameter value must be greater than 0. The
number of items that Amazon FSx returns is the minimum of the MaxResults parameter specified in the
request and the service's internal maximum number of items per page.
maxResults - Maximum number of backups to return in the response (integer). This parameter value must be greater than
0. The number of items that Amazon FSx returns is the minimum of the MaxResults parameter
specified in the request and the service's internal maximum number of items per page.public void setNextToken(String nextToken)
Opaque pagination token returned from a previous DescribeBackups operation (String). If a token
present, the action continues the list from where the returning call left off.
nextToken - Opaque pagination token returned from a previous DescribeBackups operation (String). If a
token present, the action continues the list from where the returning call left off.public String getNextToken()
Opaque pagination token returned from a previous DescribeBackups operation (String). If a token
present, the action continues the list from where the returning call left off.
DescribeBackups operation (String). If a
token present, the action continues the list from where the returning call left off.public DescribeBackupsRequest withNextToken(String nextToken)
Opaque pagination token returned from a previous DescribeBackups operation (String). If a token
present, the action continues the list from where the returning call left off.
nextToken - Opaque pagination token returned from a previous DescribeBackups operation (String). If a
token present, the action continues the list from where the returning call left off.public String toString()
toString in class ObjectObject.toString()public DescribeBackupsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.