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.

RegisterVolumeInput

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

type RegisterVolumeInput struct { Ec2VolumeId *string `type:"string"` StackId *string `type:"string" required:"true"` }

Ec2VolumeId

Type: *string

The Amazon EBS volume ID.

StackId

Type: *string

The stack ID.

StackId is a required field

Method

GoString

func (s RegisterVolumeInput) GoString() string

GoString returns the string representation

SetEc2VolumeId

func (s *RegisterVolumeInput) SetEc2VolumeId(v string) *RegisterVolumeInput

SetEc2VolumeId sets the Ec2VolumeId field's value.

SetStackId

func (s *RegisterVolumeInput) SetStackId(v string) *RegisterVolumeInput

SetStackId sets the StackId field's value.

String

func (s RegisterVolumeInput) String() string

String returns the string representation

Validate

func (s *RegisterVolumeInput) Validate() error

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

On this page: