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.

PublicKeySummary

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

type PublicKeySummary struct { Comment *string `type:"string"` CreatedTime *time.Time `type:"timestamp" required:"true"` EncodedKey *string `type:"string" required:"true"` Id *string `type:"string" required:"true"` Name *string `type:"string" required:"true"` }

A complex data type for public key information.

Comment

Type: *string

Comment for public key information summary.

CreatedTime

Type: *time.Time

Creation time for public key information summary.

CreatedTime is a required field

EncodedKey

Type: *string

Encoded key for public key information summary.

EncodedKey is a required field

Id

Type: *string

ID for public key information summary.

Id is a required field

Name

Type: *string

Name for public key information summary.

Name is a required field

Method

GoString

func (s PublicKeySummary) GoString() string

GoString returns the string representation

SetComment

func (s *PublicKeySummary) SetComment(v string) *PublicKeySummary

SetComment sets the Comment field's value.

SetCreatedTime

func (s *PublicKeySummary) SetCreatedTime(v time.Time) *PublicKeySummary

SetCreatedTime sets the CreatedTime field's value.

SetEncodedKey

func (s *PublicKeySummary) SetEncodedKey(v string) *PublicKeySummary

SetEncodedKey sets the EncodedKey field's value.

SetId

func (s *PublicKeySummary) SetId(v string) *PublicKeySummary

SetId sets the Id field's value.

SetName

func (s *PublicKeySummary) SetName(v string) *PublicKeySummary

SetName sets the Name field's value.

String

func (s PublicKeySummary) String() string

String returns the string representation

On this page: