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.

Domain

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

type Domain struct { Arn *string `locationName:"arn" type:"string"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` DomainEntries []*DomainEntry `locationName:"domainEntries" type:"list"` Location *ResourceLocation `locationName:"location" type:"structure"` Name *string `locationName:"name" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` SupportCode *string `locationName:"supportCode" type:"string"` Tags []*Tag `locationName:"tags" type:"list"` }

Describes a domain where you are storing recordsets in Lightsail.

Arn

Type: *string

The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).

CreatedAt

Type: *time.Time

The date when the domain recordset was created.

DomainEntries

Describes a domain recordset entry.

Location

Describes the resource location.

Name

Type: *string

The name of the domain.

ResourceType

Type: *string

The resource type.

SupportCode

Type: *string

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Tags

Describes a tag key and optional value assigned to an Amazon Lightsail resource.

For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

Method

GoString

func (s Domain) GoString() string

GoString returns the string representation

SetArn

func (s *Domain) SetArn(v string) *Domain

SetArn sets the Arn field's value.

SetCreatedAt

func (s *Domain) SetCreatedAt(v time.Time) *Domain

SetCreatedAt sets the CreatedAt field's value.

SetDomainEntries

func (s *Domain) SetDomainEntries(v []*DomainEntry) *Domain

SetDomainEntries sets the DomainEntries field's value.

SetLocation

func (s *Domain) SetLocation(v *ResourceLocation) *Domain

SetLocation sets the Location field's value.

SetName

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

SetName sets the Name field's value.

SetResourceType

func (s *Domain) SetResourceType(v string) *Domain

SetResourceType sets the ResourceType field's value.

SetSupportCode

func (s *Domain) SetSupportCode(v string) *Domain

SetSupportCode sets the SupportCode field's value.

SetTags

func (s *Domain) SetTags(v []*Tag) *Domain

SetTags sets the Tags field's value.

String

func (s Domain) String() string

String returns the string representation

On this page: