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.

Database

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

type Database struct { CreateTime *time.Time `type:"timestamp"` 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 Database object represents a logical grouping of tables that may reside in a Hive metastore or an RDBMS.

CreateTime

Type: *time.Time

The time at which the metadata database was created in the catalog.

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

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

Method

GoString

func (s Database) GoString() string

GoString returns the string representation

SetCreateTime

func (s *Database) SetCreateTime(v time.Time) *Database

SetCreateTime sets the CreateTime field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetLocationUri

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

SetLocationUri sets the LocationUri field's value.

SetName

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

SetName sets the Name field's value.

SetParameters

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

SetParameters sets the Parameters field's value.

String

func (s Database) String() string

String returns the string representation

On this page: