Class DbBackupSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DbBackupSummary.Builder,DbBackupSummary>
Contains a summary of a Timestream for InfluxDB backup.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the backup.static DbBackupSummary.Builderbuilder()final InstantThe time when the backup was created.final StringThe identifier of the DB resource that the backup was created from.final ResourceDeploymentTypeThe deployment type of the resource that the backup was created from.final StringThe deployment type of the resource that the backup was created from.final EngineTypeThe engine type of the resource that the backup was created from.final StringThe engine type of the resource that the backup was created from.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe date after which the backup will be automatically deleted.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()Service-generated unique identifier of the backup.final StringkmsKeyId()The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.final Stringname()The customer-provided name of the backup.static Class<? extends DbBackupSummary.Builder> final DbBackupStatusstatus()The status of the backup.final StringThe status of the backup.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final DbBackupTypetype()The type of backup.final StringThe type of backup.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
Service-generated unique identifier of the backup.
- Returns:
- Service-generated unique identifier of the backup.
-
name
The customer-provided name of the backup.
- Returns:
- The customer-provided name of the backup.
-
arn
The Amazon Resource Name (ARN) of the backup.
- Returns:
- The Amazon Resource Name (ARN) of the backup.
-
status
The status of the backup. Valid values are IN_PROGRESS, COMPLETED, FAILED, DELETING, and DELETED.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDbBackupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the backup. Valid values are IN_PROGRESS, COMPLETED, FAILED, DELETING, and DELETED.
- See Also:
-
statusAsString
The status of the backup. Valid values are IN_PROGRESS, COMPLETED, FAILED, DELETING, and DELETED.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDbBackupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the backup. Valid values are IN_PROGRESS, COMPLETED, FAILED, DELETING, and DELETED.
- See Also:
-
createdAt
The time when the backup was created.
- Returns:
- The time when the backup was created.
-
expiresAfter
The date after which the backup will be automatically deleted.
- Returns:
- The date after which the backup will be automatically deleted.
-
dbResourceId
The identifier of the DB resource that the backup was created from.
- Returns:
- The identifier of the DB resource that the backup was created from.
-
type
The type of backup. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, ON_DEMAND, and CONTINUOUS.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDbBackupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of backup. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, ON_DEMAND, and CONTINUOUS.
- See Also:
-
typeAsString
The type of backup. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, ON_DEMAND, and CONTINUOUS.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDbBackupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of backup. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, ON_DEMAND, and CONTINUOUS.
- See Also:
-
engineType
The engine type of the resource that the backup was created from.
If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- The engine type of the resource that the backup was created from.
- See Also:
-
engineTypeAsString
The engine type of the resource that the backup was created from.
If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- The engine type of the resource that the backup was created from.
- See Also:
-
deploymentType
The deployment type of the resource that the backup was created from.
If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnResourceDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- The deployment type of the resource that the backup was created from.
- See Also:
-
deploymentTypeAsString
The deployment type of the resource that the backup was created from.
If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnResourceDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- The deployment type of the resource that the backup was created from.
- See Also:
-
kmsKeyId
The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.
- Returns:
- The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DbBackupSummary.Builder,DbBackupSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-