Class DescribeRecoverySnapshotsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.drs.model.DrsRequest
-
- software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeRecoverySnapshotsRequest.Builder,DescribeRecoverySnapshotsRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeRecoverySnapshotsRequest extends DrsRequest implements ToCopyableBuilder<DescribeRecoverySnapshotsRequest.Builder,DescribeRecoverySnapshotsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeRecoverySnapshotsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeRecoverySnapshotsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DescribeRecoverySnapshotsRequestFiltersfilters()A set of filters by which to return Recovery Snapshots.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()Maximum number of Recovery Snapshots to retrieve.StringnextToken()The token of the next Recovery Snapshot to retrieve.RecoverySnapshotsOrderorder()The sorted ordering by which to return Recovery Snapshots.StringorderAsString()The sorted ordering by which to return Recovery Snapshots.List<SdkField<?>>sdkFields()static Class<? extends DescribeRecoverySnapshotsRequest.Builder>serializableBuilderClass()StringsourceServerID()Filter Recovery Snapshots by Source Server ID.DescribeRecoverySnapshotsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
filters
public final DescribeRecoverySnapshotsRequestFilters filters()
A set of filters by which to return Recovery Snapshots.
- Returns:
- A set of filters by which to return Recovery Snapshots.
-
maxResults
public final Integer maxResults()
Maximum number of Recovery Snapshots to retrieve.
- Returns:
- Maximum number of Recovery Snapshots to retrieve.
-
nextToken
public final String nextToken()
The token of the next Recovery Snapshot to retrieve.
- Returns:
- The token of the next Recovery Snapshot to retrieve.
-
order
public final RecoverySnapshotsOrder order()
The sorted ordering by which to return Recovery Snapshots.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnRecoverySnapshotsOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The sorted ordering by which to return Recovery Snapshots.
- See Also:
RecoverySnapshotsOrder
-
orderAsString
public final String orderAsString()
The sorted ordering by which to return Recovery Snapshots.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnRecoverySnapshotsOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The sorted ordering by which to return Recovery Snapshots.
- See Also:
RecoverySnapshotsOrder
-
sourceServerID
public final String sourceServerID()
Filter Recovery Snapshots by Source Server ID.
- Returns:
- Filter Recovery Snapshots by Source Server ID.
-
toBuilder
public DescribeRecoverySnapshotsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeRecoverySnapshotsRequest.Builder,DescribeRecoverySnapshotsRequest>- Specified by:
toBuilderin classDrsRequest
-
builder
public static DescribeRecoverySnapshotsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeRecoverySnapshotsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-