Struct: kms.ListGrantsResponse

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

Grants []*GrantListEntry `type:"list"`

A list of grants.

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.

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 ListGrantsResponse) 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”.



14863
14864
14865
// File 'service/kms/api.go', line 14863

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

func (s *ListGrantsResponse) SetGrants(v []*GrantListEntry) *ListGrantsResponse

SetGrants sets the Grants field's value.



14868
14869
14870
14871
// File 'service/kms/api.go', line 14868

func (s *ListGrantsResponse) SetGrants(v []*GrantListEntry) *ListGrantsResponse { s.Grants = v return s }

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

SetNextMarker sets the NextMarker field's value.



14874
14875
14876
14877
// File 'service/kms/api.go', line 14874

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

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

SetTruncated sets the Truncated field's value.



14880
14881
14882
14883
// File 'service/kms/api.go', line 14880

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

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



14854
14855
14856
// File 'service/kms/api.go', line 14854

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