@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()
IDs of the backups you want to retrieve (String).
|
static DescribeBackupsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
Filters structure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBackupIds()
Returns true if the BackupIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
Integer |
maxResults()
Maximum number of backups to return in the response (integer).
|
String |
nextToken()
Opaque pagination token returned from a previous
DescribeBackups operation (String). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeBackupsRequest.Builder> |
serializableBuilderClass() |
DescribeBackupsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasBackupIds()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBackupIds() to see if a value was sent in this field.
public final boolean hasFilters()
public final List<Filter> filters()
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.
You can use hasFilters() to see if a value was sent in this field.
public final 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 parameter
specified in the request and the service's internal maximum number of items per page.public final 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.
DescribeBackups operation (String). If a
token present, the action continues the list from where the returning call left off.public DescribeBackupsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeBackupsRequest.Builder,DescribeBackupsRequest>toBuilder in class FSxRequestpublic static DescribeBackupsRequest.Builder builder()
public static Class<? extends DescribeBackupsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.