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.

RecoveryPointByBackupVault

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

type RecoveryPointByBackupVault struct { BackupSizeInBytes *int64 `type:"long"` BackupVaultArn *string `type:"string"` BackupVaultName *string `type:"string"` CalculatedLifecycle *CalculatedLifecycle `type:"structure"` CompletionDate *time.Time `type:"timestamp"` CreatedBy *RecoveryPointCreator `type:"structure"` CreationDate *time.Time `type:"timestamp"` EncryptionKeyArn *string `type:"string"` IamRoleArn *string `type:"string"` IsEncrypted *bool `type:"boolean"` LastRestoreTime *time.Time `type:"timestamp"` Lifecycle *Lifecycle `type:"structure"` RecoveryPointArn *string `type:"string"` ResourceArn *string `type:"string"` ResourceType *string `type:"string"` Status *string `type:"string" enum:"RecoveryPointStatus"` }

Contains detailed information about the recovery points stored in a backup vault.

BackupSizeInBytes

Type: *int64

The size, in bytes, of a backup.

BackupVaultArn

Type: *string

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

BackupVaultName

Type: *string

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

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.

CompletionDate

Type: *time.Time

The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

CreatedBy

Contains information about the backup plan and rule that AWS Backup used to initiate the recovery point backup.

CreationDate

Type: *time.Time

The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

EncryptionKeyArn

Type: *string

The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

IamRoleArn

Type: *string

Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

IsEncrypted

Type: *bool

A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.

LastRestoreTime

Type: *time.Time

The date and time a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

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.

ResourceArn

Type: *string

An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

ResourceType

Type: *string

The type of AWS resource saved as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

Status

Type: *string

A status code specifying the state of the recovery point.

Method

GoString

func (s RecoveryPointByBackupVault) GoString() string

GoString returns the string representation

SetBackupSizeInBytes

func (s *RecoveryPointByBackupVault) SetBackupSizeInBytes(v int64) *RecoveryPointByBackupVault

SetBackupSizeInBytes sets the BackupSizeInBytes field's value.

SetBackupVaultArn

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

SetBackupVaultArn sets the BackupVaultArn field's value.

SetBackupVaultName

func (s *RecoveryPointByBackupVault) SetBackupVaultName(v string) *RecoveryPointByBackupVault

SetBackupVaultName sets the BackupVaultName field's value.

SetCalculatedLifecycle

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

SetCalculatedLifecycle sets the CalculatedLifecycle field's value.

SetCompletionDate

func (s *RecoveryPointByBackupVault) SetCompletionDate(v time.Time) *RecoveryPointByBackupVault

SetCompletionDate sets the CompletionDate field's value.

SetCreatedBy

func (s *RecoveryPointByBackupVault) SetCreatedBy(v *RecoveryPointCreator) *RecoveryPointByBackupVault

SetCreatedBy sets the CreatedBy field's value.

SetCreationDate

func (s *RecoveryPointByBackupVault) SetCreationDate(v time.Time) *RecoveryPointByBackupVault

SetCreationDate sets the CreationDate field's value.

SetEncryptionKeyArn

func (s *RecoveryPointByBackupVault) SetEncryptionKeyArn(v string) *RecoveryPointByBackupVault

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

SetIamRoleArn

func (s *RecoveryPointByBackupVault) SetIamRoleArn(v string) *RecoveryPointByBackupVault

SetIamRoleArn sets the IamRoleArn field's value.

SetIsEncrypted

func (s *RecoveryPointByBackupVault) SetIsEncrypted(v bool) *RecoveryPointByBackupVault

SetIsEncrypted sets the IsEncrypted field's value.

SetLastRestoreTime

func (s *RecoveryPointByBackupVault) SetLastRestoreTime(v time.Time) *RecoveryPointByBackupVault

SetLastRestoreTime sets the LastRestoreTime field's value.

SetLifecycle

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

SetLifecycle sets the Lifecycle field's value.

SetRecoveryPointArn

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

SetRecoveryPointArn sets the RecoveryPointArn field's value.

SetResourceArn

func (s *RecoveryPointByBackupVault) SetResourceArn(v string) *RecoveryPointByBackupVault

SetResourceArn sets the ResourceArn field's value.

SetResourceType

func (s *RecoveryPointByBackupVault) SetResourceType(v string) *RecoveryPointByBackupVault

SetResourceType sets the ResourceType field's value.

SetStatus

func (s *RecoveryPointByBackupVault) SetStatus(v string) *RecoveryPointByBackupVault

SetStatus sets the Status field's value.

String

func (s RecoveryPointByBackupVault) String() string

String returns the string representation

On this page: