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.

HashAlgorithmOptions

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

type HashAlgorithmOptions struct { AllowedValues []*string `locationName:"allowedValues" type:"list" required:"true"` DefaultValue *string `locationName:"defaultValue" type:"string" required:"true" enum:"HashAlgorithm"` }

The hash algorithms that are available to an AWS Signer job.

AllowedValues

Type: []*string

The set of accepted hash algorithms allowed in an AWS Signer job.

AllowedValues is a required field

DefaultValue

Type: *string

The default hash algorithm that is used in an AWS Signer job.

DefaultValue is a required field

Method

GoString

func (s HashAlgorithmOptions) GoString() string

GoString returns the string representation

SetAllowedValues

func (s *HashAlgorithmOptions) SetAllowedValues(v []*string) *HashAlgorithmOptions

SetAllowedValues sets the AllowedValues field's value.

SetDefaultValue

func (s *HashAlgorithmOptions) SetDefaultValue(v string) *HashAlgorithmOptions

SetDefaultValue sets the DefaultValue field's value.

String

func (s HashAlgorithmOptions) String() string

String returns the string representation

On this page: