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.

RelationalDatabaseHardware

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

type RelationalDatabaseHardware struct { CpuCount *int64 `locationName:"cpuCount" type:"integer"` DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"` RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` }

Describes the hardware of a database.

CpuCount

Type: *int64

The number of vCPUs for the database.

DiskSizeInGb

Type: *int64

The size of the disk for the database.

RamSizeInGb

Type: *float64

The amount of RAM in GB for the database.

Method

GoString

func (s RelationalDatabaseHardware) GoString() string

GoString returns the string representation

SetCpuCount

func (s *RelationalDatabaseHardware) SetCpuCount(v int64) *RelationalDatabaseHardware

SetCpuCount sets the CpuCount field's value.

SetDiskSizeInGb

func (s *RelationalDatabaseHardware) SetDiskSizeInGb(v int64) *RelationalDatabaseHardware

SetDiskSizeInGb sets the DiskSizeInGb field's value.

SetRamSizeInGb

func (s *RelationalDatabaseHardware) SetRamSizeInGb(v float64) *RelationalDatabaseHardware

SetRamSizeInGb sets the RamSizeInGb field's value.

String

func (s RelationalDatabaseHardware) String() string

String returns the string representation

On this page: