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.

CreateUserInput

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

type CreateUserInput struct { DisplayName *string `type:"string" required:"true"` Name *string `min:"1" type:"string" required:"true"` OrganizationId *string `type:"string" required:"true"` Password *string `type:"string" required:"true" sensitive:"true"` }

DisplayName

Type: *string

The display name for the user to be created.

DisplayName is a required field

Name

Type: *string

The name for the user to be created.

Name is a required field

OrganizationId

Type: *string

The identifier of the organization for which the user is created.

OrganizationId is a required field

Password

Type: *string

The password for the user to be created.

Password is a required field

Method

GoString

func (s CreateUserInput) GoString() string

GoString returns the string representation

SetDisplayName

func (s *CreateUserInput) SetDisplayName(v string) *CreateUserInput

SetDisplayName sets the DisplayName field's value.

SetName

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

SetName sets the Name field's value.

SetOrganizationId

func (s *CreateUserInput) SetOrganizationId(v string) *CreateUserInput

SetOrganizationId sets the OrganizationId field's value.

SetPassword

func (s *CreateUserInput) SetPassword(v string) *CreateUserInput

SetPassword sets the Password field's value.

String

func (s CreateUserInput) String() string

String returns the string representation

Validate

func (s *CreateUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: