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.

PolicyAttributeTypeDescription

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

type PolicyAttributeTypeDescription struct { AttributeName *string `type:"string"` AttributeType *string `type:"string"` Cardinality *string `type:"string"` DefaultValue *string `type:"string"` Description *string `type:"string"` }

Information about a policy attribute type.

AttributeName

Type: *string

The name of the attribute.

AttributeType

Type: *string

The type of the attribute. For example, Boolean or Integer.

Cardinality

Type: *string

The cardinality of the attribute.

Valid values:

  • ONE(1) : Single value required

  • ZERO_OR_ONE(0..1) : Up to one value is allowed

  • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed

  • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed

DefaultValue

Type: *string

The default value of the attribute, if applicable.

Description

Type: *string

A description of the attribute.

Method

GoString

func (s PolicyAttributeTypeDescription) GoString() string

GoString returns the string representation

SetAttributeName

func (s *PolicyAttributeTypeDescription) SetAttributeName(v string) *PolicyAttributeTypeDescription

SetAttributeName sets the AttributeName field's value.

SetAttributeType

func (s *PolicyAttributeTypeDescription) SetAttributeType(v string) *PolicyAttributeTypeDescription

SetAttributeType sets the AttributeType field's value.

SetCardinality

func (s *PolicyAttributeTypeDescription) SetCardinality(v string) *PolicyAttributeTypeDescription

SetCardinality sets the Cardinality field's value.

SetDefaultValue

func (s *PolicyAttributeTypeDescription) SetDefaultValue(v string) *PolicyAttributeTypeDescription

SetDefaultValue sets the DefaultValue field's value.

SetDescription

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

SetDescription sets the Description field's value.

String

func (s PolicyAttributeTypeDescription) String() string

String returns the string representation

On this page: