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.

ContentTypeProfile

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

type ContentTypeProfile struct { ContentType *string `type:"string" required:"true"` Format *string `type:"string" required:"true" enum:"Format"` ProfileId *string `type:"string"` }

A field-level encryption content type profile.

ContentType

Type: *string

The content type for a field-level encryption content type-profile mapping.

ContentType is a required field

Format

Type: *string

The format for a field-level encryption content type-profile mapping.

Format is a required field

ProfileId

Type: *string

The profile ID for a field-level encryption content type-profile mapping.

Method

GoString

func (s ContentTypeProfile) GoString() string

GoString returns the string representation

SetContentType

func (s *ContentTypeProfile) SetContentType(v string) *ContentTypeProfile

SetContentType sets the ContentType field's value.

SetFormat

func (s *ContentTypeProfile) SetFormat(v string) *ContentTypeProfile

SetFormat sets the Format field's value.

SetProfileId

func (s *ContentTypeProfile) SetProfileId(v string) *ContentTypeProfile

SetProfileId sets the ProfileId field's value.

String

func (s ContentTypeProfile) String() string

String returns the string representation

Validate

func (s *ContentTypeProfile) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: