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.

Schedule

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

type Schedule struct { ScheduleExpression *string `type:"string"` State *string `type:"string" enum:"ScheduleState"` }

A scheduling object using a cron statement to schedule an event.

ScheduleExpression

Type: *string

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers (https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

State

Type: *string

The state of the schedule.

Method

GoString

func (s Schedule) GoString() string

GoString returns the string representation

SetScheduleExpression

func (s *Schedule) SetScheduleExpression(v string) *Schedule

SetScheduleExpression sets the ScheduleExpression field's value.

SetState

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

SetState sets the State field's value.

String

func (s Schedule) String() string

String returns the string representation

On this page: