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.

AttachmentContent

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

type AttachmentContent struct { Hash *string `type:"string"` HashType *string `type:"string" enum:"AttachmentHashType"` Name *string `type:"string"` Size *int64 `type:"long"` Url *string `type:"string"` }

A structure that includes attributes that describe a document attachment.

Hash

Type: *string

The cryptographic hash value of the document content.

HashType

Type: *string

The hash algorithm used to calculate the hash value.

Name

Type: *string

The name of an attachment.

Size

Type: *int64

The size of an attachment in bytes.

Url

Type: *string

The URL location of the attachment content.

Method

GoString

func (s AttachmentContent) GoString() string

GoString returns the string representation

SetHash

func (s *AttachmentContent) SetHash(v string) *AttachmentContent

SetHash sets the Hash field's value.

SetHashType

func (s *AttachmentContent) SetHashType(v string) *AttachmentContent

SetHashType sets the HashType field's value.

SetName

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

SetName sets the Name field's value.

SetSize

func (s *AttachmentContent) SetSize(v int64) *AttachmentContent

SetSize sets the Size field's value.

SetUrl

func (s *AttachmentContent) SetUrl(v string) *AttachmentContent

SetUrl sets the Url field's value.

String

func (s AttachmentContent) String() string

String returns the string representation

On this page: