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.

ProvisionedCapacityDescription

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

type ProvisionedCapacityDescription struct { CapacityId *string `type:"string"` ExpirationDate *string `type:"string"` StartDate *string `type:"string"` }

The definition for a provisioned capacity unit.

CapacityId

Type: *string

The ID that identifies the provisioned capacity unit.

ExpirationDate

Type: *string

The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).

StartDate

Type: *string

The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).

Method

GoString

func (s ProvisionedCapacityDescription) GoString() string

GoString returns the string representation

SetCapacityId

func (s *ProvisionedCapacityDescription) SetCapacityId(v string) *ProvisionedCapacityDescription

SetCapacityId sets the CapacityId field's value.

SetExpirationDate

func (s *ProvisionedCapacityDescription) SetExpirationDate(v string) *ProvisionedCapacityDescription

SetExpirationDate sets the ExpirationDate field's value.

SetStartDate

func (s *ProvisionedCapacityDescription) SetStartDate(v string) *ProvisionedCapacityDescription

SetStartDate sets the StartDate field's value.

String

func (s ProvisionedCapacityDescription) String() string

String returns the string representation

On this page: