Class ListBackupsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest
-
- software.amazon.awssdk.services.dynamodb.model.ListBackupsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListBackupsRequest.Builder,ListBackupsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListBackupsRequest extends DynamoDbRequest implements ToCopyableBuilder<ListBackupsRequest.Builder,ListBackupsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListBackupsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupTypeFilterbackupType()The backups from the table specified byBackupTypeare listed.StringbackupTypeAsString()The backups from the table specified byBackupTypeare listed.static ListBackupsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexclusiveStartBackupArn()LastEvaluatedBackupArnis the Amazon Resource Name (ARN) of the backup last evaluated when the current page of results was returned, inclusive of the current page of results.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()Maximum number of backups to return at once.List<SdkField<?>>sdkFields()static Class<? extends ListBackupsRequest.Builder>serializableBuilderClass()StringtableName()Lists the backups from the table specified inTableName.InstanttimeRangeLowerBound()Only backups created after this time are listed.InstanttimeRangeUpperBound()Only backups created before this time are listed.ListBackupsRequest.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
-
tableName
public final String tableName()
Lists the backups from the table specified in
TableName. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.- Returns:
- Lists the backups from the table specified in
TableName. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
-
limit
public final Integer limit()
Maximum number of backups to return at once.
- Returns:
- Maximum number of backups to return at once.
-
timeRangeLowerBound
public final Instant timeRangeLowerBound()
Only backups created after this time are listed.
TimeRangeLowerBoundis inclusive.- Returns:
- Only backups created after this time are listed.
TimeRangeLowerBoundis inclusive.
-
timeRangeUpperBound
public final Instant timeRangeUpperBound()
Only backups created before this time are listed.
TimeRangeUpperBoundis exclusive.- Returns:
- Only backups created before this time are listed.
TimeRangeUpperBoundis exclusive.
-
exclusiveStartBackupArn
public final String exclusiveStartBackupArn()
LastEvaluatedBackupArnis the Amazon Resource Name (ARN) of the backup last evaluated when the current page of results was returned, inclusive of the current page of results. This value may be specified as theExclusiveStartBackupArnof a newListBackupsoperation in order to fetch the next page of results.- Returns:
LastEvaluatedBackupArnis the Amazon Resource Name (ARN) of the backup last evaluated when the current page of results was returned, inclusive of the current page of results. This value may be specified as theExclusiveStartBackupArnof a newListBackupsoperation in order to fetch the next page of results.
-
backupType
public final BackupTypeFilter backupType()
The backups from the table specified by
BackupTypeare listed.Where
BackupTypecan be:-
USER- On-demand backup created by you. (The default setting if no other backup types are specified.) -
SYSTEM- On-demand backup automatically created by DynamoDB. -
ALL- All types of on-demand backups (USER and SYSTEM).
If the service returns an enum value that is not available in the current SDK version,
backupTypewill returnBackupTypeFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombackupTypeAsString().- Returns:
- The backups from the table specified by
BackupTypeare listed.Where
BackupTypecan be:-
USER- On-demand backup created by you. (The default setting if no other backup types are specified.) -
SYSTEM- On-demand backup automatically created by DynamoDB. -
ALL- All types of on-demand backups (USER and SYSTEM).
-
- See Also:
BackupTypeFilter
-
-
backupTypeAsString
public final String backupTypeAsString()
The backups from the table specified by
BackupTypeare listed.Where
BackupTypecan be:-
USER- On-demand backup created by you. (The default setting if no other backup types are specified.) -
SYSTEM- On-demand backup automatically created by DynamoDB. -
ALL- All types of on-demand backups (USER and SYSTEM).
If the service returns an enum value that is not available in the current SDK version,
backupTypewill returnBackupTypeFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombackupTypeAsString().- Returns:
- The backups from the table specified by
BackupTypeare listed.Where
BackupTypecan be:-
USER- On-demand backup created by you. (The default setting if no other backup types are specified.) -
SYSTEM- On-demand backup automatically created by DynamoDB. -
ALL- All types of on-demand backups (USER and SYSTEM).
-
- See Also:
BackupTypeFilter
-
-
toBuilder
public ListBackupsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListBackupsRequest.Builder,ListBackupsRequest>- Specified by:
toBuilderin classDynamoDbRequest
-
builder
public static ListBackupsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListBackupsRequest.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
-
-