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.

AssessmentRunStateChange

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

type AssessmentRunStateChange struct { State *string `locationName:"state" type:"string" required:"true" enum:"AssessmentRunState"` StateChangedAt *time.Time `locationName:"stateChangedAt" type:"timestamp" required:"true"` }

Used as one of the elements of the AssessmentRun data type.

State

Type: *string

The assessment run state.

State is a required field

StateChangedAt

Type: *time.Time

The last time the assessment run state changed.

StateChangedAt is a required field

Method

GoString

func (s AssessmentRunStateChange) GoString() string

GoString returns the string representation

SetState

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

SetState sets the State field's value.

SetStateChangedAt

func (s *AssessmentRunStateChange) SetStateChangedAt(v time.Time) *AssessmentRunStateChange

SetStateChangedAt sets the StateChangedAt field's value.

String

func (s AssessmentRunStateChange) String() string

String returns the string representation

On this page: