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.

RecoveryPointByResource

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

type RecoveryPointByResource struct { BackupSizeBytes *int64 `type:"long"` BackupVaultName *string `type:"string"` CreationDate *time.Time `type:"timestamp"` EncryptionKeyArn *string `type:"string"` RecoveryPointArn *string `type:"string"` Status *string `type:"string" enum:"RecoveryPointStatus"` }

Contains detailed information about a saved recovery point.

BackupSizeBytes

Type: *int64

The size, in bytes, of a backup.

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.

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.

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.

Status

Type: *string

A status code specifying the state of the recovery point.

Method

GoString

func (s RecoveryPointByResource) GoString() string

GoString returns the string representation

SetBackupSizeBytes

func (s *RecoveryPointByResource) SetBackupSizeBytes(v int64) *RecoveryPointByResource

SetBackupSizeBytes sets the BackupSizeBytes field's value.

SetBackupVaultName

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

SetBackupVaultName sets the BackupVaultName field's value.

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetEncryptionKeyArn

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

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

SetRecoveryPointArn

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

SetRecoveryPointArn sets the RecoveryPointArn field's value.

SetStatus

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

SetStatus sets the Status field's value.

String

func (s RecoveryPointByResource) String() string

String returns the string representation

On this page: