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.

Trust

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

type Trust struct { CreatedDateTime *time.Time `type:"timestamp"` DirectoryId *string `type:"string"` LastUpdatedDateTime *time.Time `type:"timestamp"` RemoteDomainName *string `type:"string"` SelectiveAuth *string `type:"string" enum:"SelectiveAuth"` StateLastUpdatedDateTime *time.Time `type:"timestamp"` TrustDirection *string `type:"string" enum:"TrustDirection"` TrustId *string `type:"string"` TrustState *string `type:"string" enum:"TrustState"` TrustStateReason *string `type:"string"` TrustType *string `type:"string" enum:"TrustType"` }

Describes a trust relationship between an AWS Managed Microsoft AD directory and an external domain.

CreatedDateTime

Type: *time.Time

The date and time that the trust relationship was created.

DirectoryId

Type: *string

The Directory ID of the AWS directory involved in the trust relationship.

LastUpdatedDateTime

Type: *time.Time

The date and time that the trust relationship was last updated.

RemoteDomainName

Type: *string

The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.

SelectiveAuth

Type: *string

Current state of selective authentication for the trust.

StateLastUpdatedDateTime

Type: *time.Time

The date and time that the TrustState was last updated.

TrustDirection

Type: *string

The trust relationship direction.

TrustId

Type: *string

The unique ID of the trust relationship.

TrustState

Type: *string

The trust relationship state.

TrustStateReason

Type: *string

The reason for the TrustState.

TrustType

Type: *string

The trust relationship type. Forest is the default.

Method

GoString

func (s Trust) GoString() string

GoString returns the string representation

SetCreatedDateTime

func (s *Trust) SetCreatedDateTime(v time.Time) *Trust

SetCreatedDateTime sets the CreatedDateTime field's value.

SetDirectoryId

func (s *Trust) SetDirectoryId(v string) *Trust

SetDirectoryId sets the DirectoryId field's value.

SetLastUpdatedDateTime

func (s *Trust) SetLastUpdatedDateTime(v time.Time) *Trust

SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.

SetRemoteDomainName

func (s *Trust) SetRemoteDomainName(v string) *Trust

SetRemoteDomainName sets the RemoteDomainName field's value.

SetSelectiveAuth

func (s *Trust) SetSelectiveAuth(v string) *Trust

SetSelectiveAuth sets the SelectiveAuth field's value.

SetStateLastUpdatedDateTime

func (s *Trust) SetStateLastUpdatedDateTime(v time.Time) *Trust

SetStateLastUpdatedDateTime sets the StateLastUpdatedDateTime field's value.

SetTrustDirection

func (s *Trust) SetTrustDirection(v string) *Trust

SetTrustDirection sets the TrustDirection field's value.

SetTrustId

func (s *Trust) SetTrustId(v string) *Trust

SetTrustId sets the TrustId field's value.

SetTrustState

func (s *Trust) SetTrustState(v string) *Trust

SetTrustState sets the TrustState field's value.

SetTrustStateReason

func (s *Trust) SetTrustStateReason(v string) *Trust

SetTrustStateReason sets the TrustStateReason field's value.

SetTrustType

func (s *Trust) SetTrustType(v string) *Trust

SetTrustType sets the TrustType field's value.

String

func (s Trust) String() string

String returns the string representation

On this page: