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.

StreamNameCondition

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

type StreamNameCondition struct { ComparisonOperator *string `type:"string" enum:"ComparisonOperator"` ComparisonValue *string `min:"1" type:"string"` }

Specifies the condition that streams must satisfy to be returned when you list streams (see the ListStreams API). A condition has a comparison operation and a value. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

ComparisonOperator

Type: *string

A comparison operator. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

ComparisonValue

Type: *string

A value to compare.

Method

GoString

func (s StreamNameCondition) GoString() string

GoString returns the string representation

SetComparisonOperator

func (s *StreamNameCondition) SetComparisonOperator(v string) *StreamNameCondition

SetComparisonOperator sets the ComparisonOperator field's value.

SetComparisonValue

func (s *StreamNameCondition) SetComparisonValue(v string) *StreamNameCondition

SetComparisonValue sets the ComparisonValue field's value.

String

func (s StreamNameCondition) String() string

String returns the string representation

Validate

func (s *StreamNameCondition) Validate() error

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

On this page: