Class UpdateRecoveryPointLifecycleResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.backup.model.BackupResponse
-
- software.amazon.awssdk.services.backup.model.UpdateRecoveryPointLifecycleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateRecoveryPointLifecycleResponse.Builder,UpdateRecoveryPointLifecycleResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateRecoveryPointLifecycleResponse extends BackupResponse implements ToCopyableBuilder<UpdateRecoveryPointLifecycleResponse.Builder,UpdateRecoveryPointLifecycleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateRecoveryPointLifecycleResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbackupVaultArn()An ARN that uniquely identifies a backup vault; for example,arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.static UpdateRecoveryPointLifecycleResponse.Builderbuilder()CalculatedLifecyclecalculatedLifecycle()ACalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Lifecyclelifecycle()The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.StringrecoveryPointArn()An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.List<SdkField<?>>sdkFields()static Class<? extends UpdateRecoveryPointLifecycleResponse.Builder>serializableBuilderClass()UpdateRecoveryPointLifecycleResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.backup.model.BackupResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
backupVaultArn
public final String backupVaultArn()
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.- Returns:
- An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
-
recoveryPointArn
public final String recoveryPointArn()
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.- Returns:
- An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
-
lifecycle
public final Lifecycle lifecycle()
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
- Returns:
- The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
-
calculatedLifecycle
public final CalculatedLifecycle calculatedLifecycle()
A
CalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.- Returns:
- A
CalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.
-
toBuilder
public UpdateRecoveryPointLifecycleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateRecoveryPointLifecycleResponse.Builder,UpdateRecoveryPointLifecycleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateRecoveryPointLifecycleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateRecoveryPointLifecycleResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-