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.

RegisterTargetsInput

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

type RegisterTargetsInput struct { TargetGroupArn *string `type:"string" required:"true"` Targets []*TargetDescription `type:"list" required:"true"` }

TargetGroupArn

Type: *string

The Amazon Resource Name (ARN) of the target group.

TargetGroupArn is a required field

Targets

Information about a target.

Method

GoString

func (s RegisterTargetsInput) GoString() string

GoString returns the string representation

SetTargetGroupArn

func (s *RegisterTargetsInput) SetTargetGroupArn(v string) *RegisterTargetsInput

SetTargetGroupArn sets the TargetGroupArn field's value.

SetTargets

func (s *RegisterTargetsInput) SetTargets(v []*TargetDescription) *RegisterTargetsInput

SetTargets sets the Targets field's value.

String

func (s RegisterTargetsInput) String() string

String returns the string representation

Validate

func (s *RegisterTargetsInput) Validate() error

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

On this page: