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.

Directory

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

type Directory struct { CreationDateTime *time.Time `type:"timestamp"` DirectoryArn *string `type:"string"` Name *string `min:"1" type:"string"` State *string `type:"string" enum:"DirectoryState"` }

Directory structure that includes the directory name and directory ARN.

CreationDateTime

Type: *time.Time

The date and time when the directory was created.

DirectoryArn

Type: *string

The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.

Name

Type: *string

The name of the directory.

State

Type: *string

The state of the directory. Can be either Enabled, Disabled, or Deleted.

Method

GoString

func (s Directory) GoString() string

GoString returns the string representation

SetCreationDateTime

func (s *Directory) SetCreationDateTime(v time.Time) *Directory

SetCreationDateTime sets the CreationDateTime field's value.

SetDirectoryArn

func (s *Directory) SetDirectoryArn(v string) *Directory

SetDirectoryArn sets the DirectoryArn field's value.

SetName

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

SetName sets the Name field's value.

SetState

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

SetState sets the State field's value.

String

func (s Directory) String() string

String returns the string representation

On this page: