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.

SetSourceRequest

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

type SetSourceRequest struct { Decryption *Encryption `locationName:"decryption" type:"structure"` Description *string `locationName:"description" type:"string"` EntitlementArn *string `locationName:"entitlementArn" type:"string"` IngestPort *int64 `locationName:"ingestPort" type:"integer"` MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` MaxLatency *int64 `locationName:"maxLatency" type:"integer"` Name *string `locationName:"name" type:"string"` Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"` StreamId *string `locationName:"streamId" type:"string"` WhitelistCidr *string `locationName:"whitelistCidr" type:"string"` }

The settings for the source of the flow.

Decryption

Information about the encryption of the flow.

Description

Type: *string

A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

EntitlementArn

Type: *string

The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.

IngestPort

Type: *int64

The port that the flow will be listening on for incoming content.

MaxBitrate

Type: *int64

The smoothing max bitrate for RTP and RTP-FEC streams.

MaxLatency

Type: *int64

The maximum latency in milliseconds for Zixi-based streams.

Name

Type: *string

The name of the source.

Protocol

Type: *string

The protocol that is used by the source.

StreamId

Type: *string

The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

WhitelistCidr

Type: *string

The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

Method

GoString

func (s SetSourceRequest) GoString() string

GoString returns the string representation

SetDecryption

func (s *SetSourceRequest) SetDecryption(v *Encryption) *SetSourceRequest

SetDecryption sets the Decryption field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetEntitlementArn

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

SetEntitlementArn sets the EntitlementArn field's value.

SetIngestPort

func (s *SetSourceRequest) SetIngestPort(v int64) *SetSourceRequest

SetIngestPort sets the IngestPort field's value.

SetMaxBitrate

func (s *SetSourceRequest) SetMaxBitrate(v int64) *SetSourceRequest

SetMaxBitrate sets the MaxBitrate field's value.

SetMaxLatency

func (s *SetSourceRequest) SetMaxLatency(v int64) *SetSourceRequest

SetMaxLatency sets the MaxLatency field's value.

SetName

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

SetName sets the Name field's value.

SetProtocol

func (s *SetSourceRequest) SetProtocol(v string) *SetSourceRequest

SetProtocol sets the Protocol field's value.

SetStreamId

func (s *SetSourceRequest) SetStreamId(v string) *SetSourceRequest

SetStreamId sets the StreamId field's value.

SetWhitelistCidr

func (s *SetSourceRequest) SetWhitelistCidr(v string) *SetSourceRequest

SetWhitelistCidr sets the WhitelistCidr field's value.

String

func (s SetSourceRequest) String() string

String returns the string representation

Validate

func (s *SetSourceRequest) Validate() error

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

On this page: