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.

ModifyClusterSubnetGroupInput

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

type ModifyClusterSubnetGroupInput struct { ClusterSubnetGroupName *string `type:"string" required:"true"` Description *string `type:"string"` SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` }

ClusterSubnetGroupName

Type: *string

The name of the subnet group to be modified.

ClusterSubnetGroupName is a required field

Description

Type: *string

A text description of the subnet group to be modified.

SubnetIds

Type: []*string

An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

SubnetIds is a required field

Method

GoString

func (s ModifyClusterSubnetGroupInput) GoString() string

GoString returns the string representation

SetClusterSubnetGroupName

func (s *ModifyClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *ModifyClusterSubnetGroupInput

SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetSubnetIds

func (s *ModifyClusterSubnetGroupInput) SetSubnetIds(v []*string) *ModifyClusterSubnetGroupInput

SetSubnetIds sets the SubnetIds field's value.

String

func (s ModifyClusterSubnetGroupInput) String() string

String returns the string representation

Validate

func (s *ModifyClusterSubnetGroupInput) Validate() error

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

On this page: