Struct: kms.AliasListEntry

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

Overview

Contains information about an alias.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

AliasArn *string `min:"20" type:"string"`

String that contains the key ARN.

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

String that contains the alias. This value begins with alias/.

CreationDate *time.Time `type:"timestamp"`

Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.

LastUpdatedDate *time.Time `type:"timestamp"`

Date and time that the alias was most recently associated with a KMS key in the account and Region. Formatted as Unix time.

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

String that contains the key identifier of the KMS key associated with the alias.

_ struct{} `type:"structure"`

Method Details

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



7942
7943
7944
// File 'service/kms/api.go', line 7942

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

func (s *AliasListEntry) SetAliasArn(v string) *AliasListEntry

SetAliasArn sets the AliasArn field's value.



7947
7948
7949
7950
// File 'service/kms/api.go', line 7947

func (s *AliasListEntry) SetAliasArn(v string) *AliasListEntry { s.AliasArn = &v return s }

func (s *AliasListEntry) SetAliasName(v string) *AliasListEntry

SetAliasName sets the AliasName field's value.



7953
7954
7955
7956
// File 'service/kms/api.go', line 7953

func (s *AliasListEntry) SetAliasName(v string) *AliasListEntry { s.AliasName = &v return s }

func (s *AliasListEntry) SetCreationDate(v time.Time) *AliasListEntry

SetCreationDate sets the CreationDate field's value.



7959
7960
7961
7962
// File 'service/kms/api.go', line 7959

func (s *AliasListEntry) SetCreationDate(v time.Time) *AliasListEntry { s.CreationDate = &v return s }

func (s *AliasListEntry) SetLastUpdatedDate(v time.Time) *AliasListEntry

SetLastUpdatedDate sets the LastUpdatedDate field's value.



7965
7966
7967
7968
// File 'service/kms/api.go', line 7965

func (s *AliasListEntry) SetLastUpdatedDate(v time.Time) *AliasListEntry { s.LastUpdatedDate = &v return s }

func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry

SetTargetKeyId sets the TargetKeyId field's value.



7971
7972
7973
7974
// File 'service/kms/api.go', line 7971

func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry { s.TargetKeyId = &v return s }

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



7933
7934
7935
// File 'service/kms/api.go', line 7933

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