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.

RelationalDatabaseBundle

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

type RelationalDatabaseBundle struct { BundleId *string `locationName:"bundleId" type:"string"` CpuCount *int64 `locationName:"cpuCount" type:"integer"` DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"` IsActive *bool `locationName:"isActive" type:"boolean"` IsEncrypted *bool `locationName:"isEncrypted" type:"boolean"` Name *string `locationName:"name" type:"string"` Price *float64 `locationName:"price" type:"float"` RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"` }

Describes a database bundle. A bundle describes the performance specifications of the database.

BundleId

Type: *string

The ID for the database bundle.

CpuCount

Type: *int64

The number of virtual CPUs (vCPUs) for the database bundle.

DiskSizeInGb

Type: *int64

The size of the disk for the database bundle.

IsActive

Type: *bool

A Boolean value indicating whether the database bundle is active.

IsEncrypted

Type: *bool

A Boolean value indicating whether the database bundle is encrypted.

Name

Type: *string

The name for the database bundle.

Price

Type: *float64

The cost of the database bundle in US currency.

RamSizeInGb

Type: *float64

The amount of RAM in GB (for example, 2.0) for the database bundle.

TransferPerMonthInGb

Type: *int64

The data transfer rate per month in GB for the database bundle.

Method

GoString

func (s RelationalDatabaseBundle) GoString() string

GoString returns the string representation

SetBundleId

func (s *RelationalDatabaseBundle) SetBundleId(v string) *RelationalDatabaseBundle

SetBundleId sets the BundleId field's value.

SetCpuCount

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

SetCpuCount sets the CpuCount field's value.

SetDiskSizeInGb

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

SetDiskSizeInGb sets the DiskSizeInGb field's value.

SetIsActive

func (s *RelationalDatabaseBundle) SetIsActive(v bool) *RelationalDatabaseBundle

SetIsActive sets the IsActive field's value.

SetIsEncrypted

func (s *RelationalDatabaseBundle) SetIsEncrypted(v bool) *RelationalDatabaseBundle

SetIsEncrypted sets the IsEncrypted field's value.

SetName

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

SetName sets the Name field's value.

SetPrice

func (s *RelationalDatabaseBundle) SetPrice(v float64) *RelationalDatabaseBundle

SetPrice sets the Price field's value.

SetRamSizeInGb

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

SetRamSizeInGb sets the RamSizeInGb field's value.

SetTransferPerMonthInGb

func (s *RelationalDatabaseBundle) SetTransferPerMonthInGb(v int64) *RelationalDatabaseBundle

SetTransferPerMonthInGb sets the TransferPerMonthInGb field's value.

String

func (s RelationalDatabaseBundle) String() string

String returns the string representation

On this page: