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.

Group

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

type Group struct { DisabledDate *time.Time `type:"timestamp"` Email *string `min:"1" type:"string"` EnabledDate *time.Time `type:"timestamp"` Id *string `min:"12" type:"string"` Name *string `min:"1" type:"string"` State *string `type:"string" enum:"EntityState"` }

The representation of an Amazon WorkMail group.

DisabledDate

Type: *time.Time

The date indicating when the group was disabled from Amazon WorkMail use.

Email

Type: *string

The email of the group.

EnabledDate

Type: *time.Time

The date indicating when the group was enabled for Amazon WorkMail use.

Id

Type: *string

The identifier of the group.

Name

Type: *string

The name of the group.

State

Type: *string

The state of the group, which can be ENABLED, DISABLED, or DELETED.

Method

GoString

func (s Group) GoString() string

GoString returns the string representation

SetDisabledDate

func (s *Group) SetDisabledDate(v time.Time) *Group

SetDisabledDate sets the DisabledDate field's value.

SetEmail

func (s *Group) SetEmail(v string) *Group

SetEmail sets the Email field's value.

SetEnabledDate

func (s *Group) SetEnabledDate(v time.Time) *Group

SetEnabledDate sets the EnabledDate field's value.

SetId

func (s *Group) SetId(v string) *Group

SetId sets the Id field's value.

SetName

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

SetName sets the Name field's value.

SetState

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

SetState sets the State field's value.

String

func (s Group) String() string

String returns the string representation

On this page: