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.

Facet

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

type Facet struct { FacetStyle *string `type:"string" enum:"FacetStyle"` Name *string `min:"1" type:"string"` ObjectType *string `type:"string" enum:"ObjectType"` }

A structure that contains Name, ARN, Attributes, Rules, and ObjectTypes. See Facets (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_whatarefacets.html) for more information.

FacetStyle

Type: *string

There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.

Name

Type: *string

The name of the Facet.

ObjectType

Type: *string

The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.

Method

GoString

func (s Facet) GoString() string

GoString returns the string representation

SetFacetStyle

func (s *Facet) SetFacetStyle(v string) *Facet

SetFacetStyle sets the FacetStyle field's value.

SetName

func (s *Facet) SetName(v string) *Facet

SetName sets the Name field's value.

SetObjectType

func (s *Facet) SetObjectType(v string) *Facet

SetObjectType sets the ObjectType field's value.

String

func (s Facet) String() string

String returns the string representation

On this page: