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.

UpdateXMLClassifierRequest

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

type UpdateXMLClassifierRequest struct { Classification *string `type:"string"` Name *string `min:"1" type:"string" required:"true"` RowTag *string `type:"string"` }

Specifies an XML classifier to be updated.

Classification

Type: *string

An identifier of the data format that the classifier matches.

Name

Type: *string

The name of the classifier.

Name is a required field

RowTag

Type: *string

The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).

Method

GoString

func (s UpdateXMLClassifierRequest) GoString() string

GoString returns the string representation

SetClassification

func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest

SetClassification sets the Classification field's value.

SetName

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

SetName sets the Name field's value.

SetRowTag

func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest

SetRowTag sets the RowTag field's value.

String

func (s UpdateXMLClassifierRequest) String() string

String returns the string representation

Validate

func (s *UpdateXMLClassifierRequest) Validate() error

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

On this page: