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.

JsonClassifier

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

type JsonClassifier struct { CreationTime *time.Time `type:"timestamp"` JsonPath *string `type:"string" required:"true"` LastUpdated *time.Time `type:"timestamp"` Name *string `min:"1" type:"string" required:"true"` Version *int64 `type:"long"` }

A classifier for JSON content.

CreationTime

Type: *time.Time

The time this classifier was registered.

JsonPath

Type: *string

A JsonPath string defining the JSON data for the classifier to classify. AWS Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers (https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json).

JsonPath is a required field

LastUpdated

Type: *time.Time

The time this classifier was last updated.

Name

Type: *string

The name of the classifier.

Name is a required field

Version

Type: *int64

The version of this classifier.

Method

GoString

func (s JsonClassifier) GoString() string

GoString returns the string representation

SetCreationTime

func (s *JsonClassifier) SetCreationTime(v time.Time) *JsonClassifier

SetCreationTime sets the CreationTime field's value.

SetJsonPath

func (s *JsonClassifier) SetJsonPath(v string) *JsonClassifier

SetJsonPath sets the JsonPath field's value.

SetLastUpdated

func (s *JsonClassifier) SetLastUpdated(v time.Time) *JsonClassifier

SetLastUpdated sets the LastUpdated field's value.

SetName

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

SetName sets the Name field's value.

SetVersion

func (s *JsonClassifier) SetVersion(v int64) *JsonClassifier

SetVersion sets the Version field's value.

String

func (s JsonClassifier) String() string

String returns the string representation

On this page: