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.

DescribeResourceOutput

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

type DescribeResourceOutput struct { BookingOptions *BookingOptions `type:"structure"` DisabledDate *time.Time `type:"timestamp"` Email *string `min:"1" type:"string"` EnabledDate *time.Time `type:"timestamp"` Name *string `min:"1" type:"string"` ResourceId *string `type:"string"` State *string `type:"string" enum:"EntityState"` Type *string `type:"string" enum:"ResourceType"` }

BookingOptions

At least one delegate must be associated to the resource to disable automatic replies from the resource.

DisabledDate

Type: *time.Time

The date and time when a resource was registered from Amazon WorkMail, in UNIX epoch time format.

Email

Type: *string

The email of the described resource.

EnabledDate

Type: *time.Time

The date and time when a resource was registered to Amazon WorkMail, in UNIX epoch time format.

Name

Type: *string

The name of the described resource.

ResourceId

Type: *string

The identifier of the described resource.

State

Type: *string

The state of the resource: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).

Type

Type: *string

The type of the described resource.

Method

GoString

func (s DescribeResourceOutput) GoString() string

GoString returns the string representation

SetBookingOptions

func (s *DescribeResourceOutput) SetBookingOptions(v *BookingOptions) *DescribeResourceOutput

SetBookingOptions sets the BookingOptions field's value.

SetDisabledDate

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

SetDisabledDate sets the DisabledDate field's value.

SetEmail

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

SetEmail sets the Email field's value.

SetEnabledDate

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

SetEnabledDate sets the EnabledDate field's value.

SetName

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

SetName sets the Name field's value.

SetResourceId

func (s *DescribeResourceOutput) SetResourceId(v string) *DescribeResourceOutput

SetResourceId sets the ResourceId field's value.

SetState

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

SetState sets the State field's value.

SetType

func (s *DescribeResourceOutput) SetType(v string) *DescribeResourceOutput

SetType sets the Type field's value.

String

func (s DescribeResourceOutput) String() string

String returns the string representation

On this page: