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.

DownloadDefaultKeyPairOutput

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

type DownloadDefaultKeyPairOutput struct { PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"` PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"` }

PrivateKeyBase64

Type: *string

A base64-encoded RSA private key.

PublicKeyBase64

Type: *string

A base64-encoded public key of the ssh-rsa type.

Method

GoString

func (s DownloadDefaultKeyPairOutput) GoString() string

GoString returns the string representation

SetPrivateKeyBase64

func (s *DownloadDefaultKeyPairOutput) SetPrivateKeyBase64(v string) *DownloadDefaultKeyPairOutput

SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value.

SetPublicKeyBase64

func (s *DownloadDefaultKeyPairOutput) SetPublicKeyBase64(v string) *DownloadDefaultKeyPairOutput

SetPublicKeyBase64 sets the PublicKeyBase64 field's value.

String

func (s DownloadDefaultKeyPairOutput) String() string

String returns the string representation

On this page: