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.

SlotTypeMetadata

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

type SlotTypeMetadata struct { CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"` Name *string `locationName:"name" min:"1" type:"string"` Version *string `locationName:"version" min:"1" type:"string"` }

Provides information about a slot type..

CreatedDate

Type: *time.Time

The date that the slot type was created.

Description

Type: *string

A description of the slot type.

LastUpdatedDate

Type: *time.Time

The date that the slot type was updated. When you create a resource, the creation date and last updated date are the same.

Name

Type: *string

The name of the slot type.

Version

Type: *string

The version of the slot type.

Method

GoString

func (s SlotTypeMetadata) GoString() string

GoString returns the string representation

SetCreatedDate

func (s *SlotTypeMetadata) SetCreatedDate(v time.Time) *SlotTypeMetadata

SetCreatedDate sets the CreatedDate field's value.

SetDescription

func (s *SlotTypeMetadata) SetDescription(v string) *SlotTypeMetadata

SetDescription sets the Description field's value.

SetLastUpdatedDate

func (s *SlotTypeMetadata) SetLastUpdatedDate(v time.Time) *SlotTypeMetadata

SetLastUpdatedDate sets the LastUpdatedDate field's value.

SetName

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

SetName sets the Name field's value.

SetVersion

func (s *SlotTypeMetadata) SetVersion(v string) *SlotTypeMetadata

SetVersion sets the Version field's value.

String

func (s SlotTypeMetadata) String() string

String returns the string representation

On this page: