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.

IpRuleItem

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

type IpRuleItem struct { IpRule *string `locationName:"ipRule" type:"string"` RuleDesc *string `locationName:"ruleDesc" type:"string"` }

Describes a rule for an IP access control group.

IpRule

Type: *string

The IP address range, in CIDR notation.

RuleDesc

Type: *string

The description.

Method

GoString

func (s IpRuleItem) GoString() string

GoString returns the string representation

SetIpRule

func (s *IpRuleItem) SetIpRule(v string) *IpRuleItem

SetIpRule sets the IpRule field's value.

SetRuleDesc

func (s *IpRuleItem) SetRuleDesc(v string) *IpRuleItem

SetRuleDesc sets the RuleDesc field's value.

String

func (s IpRuleItem) String() string

String returns the string representation

On this page: