toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case KeyType.awsOwnedCmk:
      return 'AWS_OWNED_CMK';
    case KeyType.customerManagedCmk:
      return 'CUSTOMER_MANAGED_CMK';
  }
}