Struct: kms.DisconnectCustomKeyStoreInput

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

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

CustomKeyStoreId *string `min:"1" type:"string" required:"true"`

Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.

CustomKeyStoreId is a required field

_ struct{} `type:"structure"`

Method Details

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



10946
10947
10948
// File 'service/kms/api.go', line 10946

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

func (s *DisconnectCustomKeyStoreInput) SetCustomKeyStoreId(v string) *DisconnectCustomKeyStoreInput

SetCustomKeyStoreId sets the CustomKeyStoreId field's value.



10967
10968
10969
10970
// File 'service/kms/api.go', line 10967

func (s *DisconnectCustomKeyStoreInput) SetCustomKeyStoreId(v string) *DisconnectCustomKeyStoreInput { s.CustomKeyStoreId = &v return s }

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



10937
10938
10939
// File 'service/kms/api.go', line 10937

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

func (s *DisconnectCustomKeyStoreInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.



10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
// File 'service/kms/api.go', line 10951

func (s *DisconnectCustomKeyStoreInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DisconnectCustomKeyStoreInput"} if s.CustomKeyStoreId == nil { invalidParams.Add(request.NewErrParamRequired("CustomKeyStoreId")) } if s.CustomKeyStoreId != nil && len(*s.CustomKeyStoreId) < 1 { invalidParams.Add(request.NewErrParamMinLen("CustomKeyStoreId", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil }