toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DomainType.endpoint:
      return 'ENDPOINT';
    case DomainType.awsManaged:
      return 'AWS_MANAGED';
    case DomainType.customerManaged:
      return 'CUSTOMER_MANAGED';
  }
}