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.

ModifyGlobalClusterInput

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

type ModifyGlobalClusterInput struct { DeletionProtection *bool `type:"boolean"` GlobalClusterIdentifier *string `type:"string"` NewGlobalClusterIdentifier *string `type:"string"` }

DeletionProtection

Type: *bool

Indicates if the global database cluster has deletion protection enabled. The global database cluster can't be deleted when this value is set to true.

GlobalClusterIdentifier

Type: *string

The DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing global database cluster.

NewGlobalClusterIdentifier

Type: *string

The new cluster identifier for the global database cluster when modifying a global database cluster. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens

  • The first character must be a letter

  • Can't end with a hyphen or contain two consecutive hyphens

Example: my-cluster2

Method

GoString

func (s ModifyGlobalClusterInput) GoString() string

GoString returns the string representation

SetDeletionProtection

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

SetDeletionProtection sets the DeletionProtection field's value.

SetGlobalClusterIdentifier

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

SetGlobalClusterIdentifier sets the GlobalClusterIdentifier field's value.

SetNewGlobalClusterIdentifier

func (s *ModifyGlobalClusterInput) SetNewGlobalClusterIdentifier(v string) *ModifyGlobalClusterInput

SetNewGlobalClusterIdentifier sets the NewGlobalClusterIdentifier field's value.

String

func (s ModifyGlobalClusterInput) String() string

String returns the string representation

On this page: