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.

Condition

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

type Condition struct { JobName *string `min:"1" type:"string"` LogicalOperator *string `type:"string" enum:"LogicalOperator"` State *string `type:"string" enum:"JobRunState"` }

Defines a condition under which a trigger fires.

JobName

Type: *string

The name of the Job to whose JobRuns this condition applies and on which this trigger waits.

LogicalOperator

Type: *string

A logical operator.

State

Type: *string

The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED.

Method

GoString

func (s Condition) GoString() string

GoString returns the string representation

SetJobName

func (s *Condition) SetJobName(v string) *Condition

SetJobName sets the JobName field's value.

SetLogicalOperator

func (s *Condition) SetLogicalOperator(v string) *Condition

SetLogicalOperator sets the LogicalOperator field's value.

SetState

func (s *Condition) SetState(v string) *Condition

SetState sets the State field's value.

String

func (s Condition) String() string

String returns the string representation

Validate

func (s *Condition) Validate() error

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

On this page: