Struct: kms.GetKeyPolicyOutput

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

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

A key policy document in JSON format.

_ struct{} `type:"structure"`

Method Details

func (s GetKeyPolicyOutput) 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”.



12396
12397
12398
// File 'service/kms/api.go', line 12396

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

func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput

SetPolicy sets the Policy field's value.



12401
12402
12403
12404
// File 'service/kms/api.go', line 12401

func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput { s.Policy = &v return s }

func (s GetKeyPolicyOutput) 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”.



12387
12388
12389
// File 'service/kms/api.go', line 12387

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