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.

DatabaseInput

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

type DatabaseInput struct { Description *string `type:"string"` LocationUri *string `min:"1" type:"string"` Name *string `min:"1" type:"string" required:"true"` Parameters map[string]*string `type:"map"` }

The structure used to create or update a database.

Description

Type: *string

Description of the database

LocationUri

Type: *string

The location of the database (for example, an HDFS path).

Name

Type: *string

Name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

Name is a required field

Parameters

Type: map[string]*string

Thes key-value pairs define parameters and properties of the database.

Method

GoString

func (s DatabaseInput) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetLocationUri

func (s *DatabaseInput) SetLocationUri(v string) *DatabaseInput

SetLocationUri sets the LocationUri field's value.

SetName

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

SetName sets the Name field's value.

SetParameters

func (s *DatabaseInput) SetParameters(v map[string]*string) *DatabaseInput

SetParameters sets the Parameters field's value.

String

func (s DatabaseInput) String() string

String returns the string representation

Validate

func (s *DatabaseInput) Validate() error

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

On this page: