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.

XMLClassifier

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

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

A classifier for XML content.

Classification

Type: *string

An identifier of the data format that the classifier matches.

Classification is a required field

CreationTime

Type: *time.Time

The time this classifier was registered.

LastUpdated

Type: *time.Time

The time this classifier was last updated.

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).

Version

Type: *int64

The version of this classifier.

Method

GoString

func (s XMLClassifier) GoString() string

GoString returns the string representation

SetClassification

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

SetClassification sets the Classification field's value.

SetCreationTime

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

SetCreationTime sets the CreationTime field's value.

SetLastUpdated

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

SetLastUpdated sets the LastUpdated field's value.

SetName

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

SetName sets the Name field's value.

SetRowTag

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

SetRowTag sets the RowTag field's value.

SetVersion

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

SetVersion sets the Version field's value.

String

func (s XMLClassifier) String() string

String returns the string representation

On this page: