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.

MetricGranularityType

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

type MetricGranularityType struct { Granularity *string `min:"1" type:"string"` }

Describes a granularity of a metric.

Granularity

Type: *string

The granularity. The only valid value is 1Minute.

Method

GoString

func (s MetricGranularityType) GoString() string

GoString returns the string representation

SetGranularity

func (s *MetricGranularityType) SetGranularity(v string) *MetricGranularityType

SetGranularity sets the Granularity field's value.

String

func (s MetricGranularityType) String() string

String returns the string representation

On this page: