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.

Entitlement

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

type Entitlement struct { Description *string `locationName:"description" type:"string"` Encryption *Encryption `locationName:"encryption" type:"structure"` EntitlementArn *string `locationName:"entitlementArn" type:"string" required:"true"` Name *string `locationName:"name" type:"string" required:"true"` Subscribers []*string `locationName:"subscribers" type:"list" required:"true"` }

The settings for a flow entitlement.

Description

Type: *string

A description of the entitlement.

Encryption

Information about the encryption of the flow.

EntitlementArn

Type: *string

The ARN of the entitlement.

EntitlementArn is a required field

Name

Type: *string

The name of the entitlement.

Name is a required field

Subscribers

Type: []*string

The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.

Subscribers is a required field

Method

GoString

func (s Entitlement) GoString() string

GoString returns the string representation

SetDescription

func (s *Entitlement) SetDescription(v string) *Entitlement

SetDescription sets the Description field's value.

SetEncryption

func (s *Entitlement) SetEncryption(v *Encryption) *Entitlement

SetEncryption sets the Encryption field's value.

SetEntitlementArn

func (s *Entitlement) SetEntitlementArn(v string) *Entitlement

SetEntitlementArn sets the EntitlementArn field's value.

SetName

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

SetName sets the Name field's value.

SetSubscribers

func (s *Entitlement) SetSubscribers(v []*string) *Entitlement

SetSubscribers sets the Subscribers field's value.

String

func (s Entitlement) String() string

String returns the string representation

On this page: