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.

ByoipCidr

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

type ByoipCidr struct { Cidr *string `locationName:"cidr" type:"string"` Description *string `locationName:"description" type:"string"` State *string `locationName:"state" type:"string" enum:"ByoipCidrState"` StatusMessage *string `locationName:"statusMessage" type:"string"` }

Information about an address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP).

Cidr

Type: *string

The public IPv4 address range, in CIDR notation.

Description

Type: *string

The description of the address range.

State

Type: *string

The state of the address pool.

StatusMessage

Type: *string

Upon success, contains the ID of the address pool. Otherwise, contains an error message.

Method

GoString

func (s ByoipCidr) GoString() string

GoString returns the string representation

SetCidr

func (s *ByoipCidr) SetCidr(v string) *ByoipCidr

SetCidr sets the Cidr field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetState

func (s *ByoipCidr) SetState(v string) *ByoipCidr

SetState sets the State field's value.

SetStatusMessage

func (s *ByoipCidr) SetStatusMessage(v string) *ByoipCidr

SetStatusMessage sets the StatusMessage field's value.

String

func (s ByoipCidr) String() string

String returns the string representation

On this page: