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.

UtilizationByTime

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

type UtilizationByTime struct { Groups []*ReservationUtilizationGroup `type:"list"` TimePeriod *DateInterval `type:"structure"` Total *ReservationAggregates `type:"structure"` }

The amount of utilization, in hours.

Groups

A group of reservations that share a set of attributes.

TimePeriod

The time period that you want the usage and costs for.

Total

The aggregated numbers for your reservation usage.

Method

GoString

func (s UtilizationByTime) GoString() string

GoString returns the string representation

SetGroups

func (s *UtilizationByTime) SetGroups(v []*ReservationUtilizationGroup) *UtilizationByTime

SetGroups sets the Groups field's value.

SetTimePeriod

func (s *UtilizationByTime) SetTimePeriod(v *DateInterval) *UtilizationByTime

SetTimePeriod sets the TimePeriod field's value.

SetTotal

func (s *UtilizationByTime) SetTotal(v *ReservationAggregates) *UtilizationByTime

SetTotal sets the Total field's value.

String

func (s UtilizationByTime) String() string

String returns the string representation

On this page: