@Generated(value="software.amazon.awssdk:codegen") public final class DescribeBackupsRequest extends FSxRequest implements ToCopyableBuilder<DescribeBackupsRequest.Builder,DescribeBackupsRequest>
The request object for DescribeBackups
operation.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeBackupsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
backupIds()
(Optional) IDs of the backups you want to retrieve (String).
|
static DescribeBackupsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<Filter> |
filters()
(Optional) Filters structure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
(Optional) Maximum number of backups to return in the response (integer).
|
String |
nextToken()
(Optional) Opaque pagination token returned from a previous
DescribeBackups operation (String). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeBackupsRequest.Builder> |
serializableBuilderClass() |
DescribeBackupsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<String> backupIds()
(Optional) IDs of the backups you want to retrieve (String). This overrides any filters. If any IDs are not found, BackupNotFound will be thrown.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Filter> filters()
(Optional) Filters structure. Supported names are file-system-id and backup-type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer maxResults()
(Optional) 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 String nextToken()
(Optional) 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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeBackupsRequest.Builder,DescribeBackupsRequest>
toBuilder
in class FSxRequest
public static DescribeBackupsRequest.Builder builder()
public static Class<? extends DescribeBackupsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.