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.

DescribeProtectedResourceOutput

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

type DescribeProtectedResourceOutput struct { LastBackupTime *time.Time `type:"timestamp"` ResourceArn *string `type:"string"` ResourceType *string `type:"string"` }

LastBackupTime

Type: *time.Time

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

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 EBS volume or an Amazon RDS database.

Method

GoString

func (s DescribeProtectedResourceOutput) GoString() string

GoString returns the string representation

SetLastBackupTime

func (s *DescribeProtectedResourceOutput) SetLastBackupTime(v time.Time) *DescribeProtectedResourceOutput

SetLastBackupTime sets the LastBackupTime field's value.

SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

SetResourceType

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

SetResourceType sets the ResourceType field's value.

String

func (s DescribeProtectedResourceOutput) String() string

String returns the string representation

On this page: