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.

CreateJsonClassifierRequest

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

type CreateJsonClassifierRequest struct { JsonPath *string `type:"string" required:"true"` Name *string `min:"1" type:"string" required:"true"` }

Specifies a JSON classifier for CreateClassifier to create.

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

Name

Type: *string

The name of the classifier.

Name is a required field

Method

GoString

func (s CreateJsonClassifierRequest) GoString() string

GoString returns the string representation

SetJsonPath

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

SetJsonPath sets the JsonPath field's value.

SetName

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

SetName sets the Name field's value.

String

func (s CreateJsonClassifierRequest) String() string

String returns the string representation

Validate

func (s *CreateJsonClassifierRequest) Validate() error

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

On this page: