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.

ResizeClusterInput

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

type ResizeClusterInput struct { Classic *bool `type:"boolean"` ClusterIdentifier *string `type:"string" required:"true"` ClusterType *string `type:"string"` NodeType *string `type:"string"` NumberOfNodes *int64 `type:"integer" required:"true"` }

Classic

Type: *bool

A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to false, the resize type is elastic.

ClusterIdentifier

Type: *string

The unique identifier for the cluster to resize.

ClusterIdentifier is a required field

ClusterType

Type: *string

The new cluster type for the specified cluster.

NodeType

Type: *string

The new node type for the nodes you are adding.

NumberOfNodes

Type: *int64

The new number of nodes for the cluster.

NumberOfNodes is a required field

Method

GoString

func (s ResizeClusterInput) GoString() string

GoString returns the string representation

SetClassic

func (s *ResizeClusterInput) SetClassic(v bool) *ResizeClusterInput

SetClassic sets the Classic field's value.

SetClusterIdentifier

func (s *ResizeClusterInput) SetClusterIdentifier(v string) *ResizeClusterInput

SetClusterIdentifier sets the ClusterIdentifier field's value.

SetClusterType

func (s *ResizeClusterInput) SetClusterType(v string) *ResizeClusterInput

SetClusterType sets the ClusterType field's value.

SetNodeType

func (s *ResizeClusterInput) SetNodeType(v string) *ResizeClusterInput

SetNodeType sets the NodeType field's value.

SetNumberOfNodes

func (s *ResizeClusterInput) SetNumberOfNodes(v int64) *ResizeClusterInput

SetNumberOfNodes sets the NumberOfNodes field's value.

String

func (s ResizeClusterInput) String() string

String returns the string representation

Validate

func (s *ResizeClusterInput) Validate() error

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

On this page: