Struct: kms.ListKeyPoliciesOutput

import "../ibm-cos-sdk-go/service/kms"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

NextMarker *string `min:"1" type:"string"`

When Truncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent request.

PolicyNames []*string `type:"list"`

A list of key policy names. The only valid value is default.

Truncated *bool `type:"boolean"`

A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker element in thisresponse to the Marker parameter in a subsequent request.

_ struct{} `type:"structure"`

Method Details

func (s ListKeyPoliciesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



15008
15009
15010
// File 'service/kms/api.go', line 15008

func (s ListKeyPoliciesOutput) GoString() string { return s.String() }

func (s *ListKeyPoliciesOutput) SetNextMarker(v string) *ListKeyPoliciesOutput

SetNextMarker sets the NextMarker field's value.



15013
15014
15015
15016
// File 'service/kms/api.go', line 15013

func (s *ListKeyPoliciesOutput) SetNextMarker(v string) *ListKeyPoliciesOutput { s.NextMarker = &v return s }

func (s *ListKeyPoliciesOutput) SetPolicyNames(v []*string) *ListKeyPoliciesOutput

SetPolicyNames sets the PolicyNames field's value.



15019
15020
15021
15022
// File 'service/kms/api.go', line 15019

func (s *ListKeyPoliciesOutput) SetPolicyNames(v []*string) *ListKeyPoliciesOutput { s.PolicyNames = v return s }

func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput

SetTruncated sets the Truncated field's value.



15025
15026
15027
15028
// File 'service/kms/api.go', line 15025

func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput { s.Truncated = &v return s }

func (s ListKeyPoliciesOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



14999
15000
15001
// File 'service/kms/api.go', line 14999

func (s ListKeyPoliciesOutput) String() string { return awsutil.Prettify(s) }