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.

GlobalCluster

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

type GlobalCluster struct { DatabaseName *string `type:"string"` DeletionProtection *bool `type:"boolean"` Engine *string `type:"string"` EngineVersion *string `type:"string"` GlobalClusterArn *string `type:"string"` GlobalClusterIdentifier *string `type:"string"` GlobalClusterMembers []*GlobalClusterMember `locationNameList:"GlobalClusterMember" type:"list"` GlobalClusterResourceId *string `type:"string"` Status *string `type:"string"` StorageEncrypted *bool `type:"boolean"` }

A data type representing an Aurora global database.

DatabaseName

Type: *string

The default database name within the new global database cluster.

DeletionProtection

Type: *bool

The deletion protection setting for the new global database cluster.

Engine

Type: *string

The Aurora database engine used by the global database cluster.

EngineVersion

Type: *string

Indicates the database engine version.

GlobalClusterArn

Type: *string

The Amazon Resource Name (ARN) for the global database cluster.

GlobalClusterIdentifier

Type: *string

Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster.

GlobalClusterMembers

A data structure with information about any primary and secondary clusters associated with an Aurora global database.

GlobalClusterResourceId

Type: *string

The AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed.

Status

Type: *string

Specifies the current state of this global database cluster.

StorageEncrypted

Type: *bool

The storage encryption setting for the global database cluster.

Method

GoString

func (s GlobalCluster) GoString() string

GoString returns the string representation

SetDatabaseName

func (s *GlobalCluster) SetDatabaseName(v string) *GlobalCluster

SetDatabaseName sets the DatabaseName field's value.

SetDeletionProtection

func (s *GlobalCluster) SetDeletionProtection(v bool) *GlobalCluster

SetDeletionProtection sets the DeletionProtection field's value.

SetEngine

func (s *GlobalCluster) SetEngine(v string) *GlobalCluster

SetEngine sets the Engine field's value.

SetEngineVersion

func (s *GlobalCluster) SetEngineVersion(v string) *GlobalCluster

SetEngineVersion sets the EngineVersion field's value.

SetGlobalClusterArn

func (s *GlobalCluster) SetGlobalClusterArn(v string) *GlobalCluster

SetGlobalClusterArn sets the GlobalClusterArn field's value.

SetGlobalClusterIdentifier

func (s *GlobalCluster) SetGlobalClusterIdentifier(v string) *GlobalCluster

SetGlobalClusterIdentifier sets the GlobalClusterIdentifier field's value.

SetGlobalClusterMembers

func (s *GlobalCluster) SetGlobalClusterMembers(v []*GlobalClusterMember) *GlobalCluster

SetGlobalClusterMembers sets the GlobalClusterMembers field's value.

SetGlobalClusterResourceId

func (s *GlobalCluster) SetGlobalClusterResourceId(v string) *GlobalCluster

SetGlobalClusterResourceId sets the GlobalClusterResourceId field's value.

SetStatus

func (s *GlobalCluster) SetStatus(v string) *GlobalCluster

SetStatus sets the Status field's value.

SetStorageEncrypted

func (s *GlobalCluster) SetStorageEncrypted(v bool) *GlobalCluster

SetStorageEncrypted sets the StorageEncrypted field's value.

String

func (s GlobalCluster) String() string

String returns the string representation

On this page: