AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateRecoveryPointLifecycleOutput

import "github.com/aws/aws-sdk-go/service/backup"

type UpdateRecoveryPointLifecycleOutput struct { BackupVaultArn *string `type:"string"` CalculatedLifecycle *CalculatedLifecycle `type:"structure"` Lifecycle *Lifecycle `type:"structure"` RecoveryPointArn *string `type:"string"` }

BackupVaultArn

Type: *string

An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

CalculatedLifecycle

Contains DeleteAt and MoveToColdStorageAt timestamps, which are used to specify a lifecycle for a recovery point.

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS 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 “expire after days” 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.

Lifecycle

Contains an array of Transition objects specifying how long in days before a recovery point transitions to cold storage or is deleted.

RecoveryPointArn

Type: *string

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.

Method

GoString

func (s UpdateRecoveryPointLifecycleOutput) GoString() string

GoString returns the string representation

SetBackupVaultArn

func (s *UpdateRecoveryPointLifecycleOutput) SetBackupVaultArn(v string) *UpdateRecoveryPointLifecycleOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

SetCalculatedLifecycle

func (s *UpdateRecoveryPointLifecycleOutput) SetCalculatedLifecycle(v *CalculatedLifecycle) *UpdateRecoveryPointLifecycleOutput

SetCalculatedLifecycle sets the CalculatedLifecycle field's value.

SetLifecycle

func (s *UpdateRecoveryPointLifecycleOutput) SetLifecycle(v *Lifecycle) *UpdateRecoveryPointLifecycleOutput

SetLifecycle sets the Lifecycle field's value.

SetRecoveryPointArn

func (s *UpdateRecoveryPointLifecycleOutput) SetRecoveryPointArn(v string) *UpdateRecoveryPointLifecycleOutput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

String

func (s UpdateRecoveryPointLifecycleOutput) String() string

String returns the string representation

On this page: