toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AccountLimitType.maxHealthChecksByOwner:
      return 'MAX_HEALTH_CHECKS_BY_OWNER';
    case AccountLimitType.maxHostedZonesByOwner:
      return 'MAX_HOSTED_ZONES_BY_OWNER';
    case AccountLimitType.maxTrafficPolicyInstancesByOwner:
      return 'MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER';
    case AccountLimitType.maxReusableDelegationSetsByOwner:
      return 'MAX_REUSABLE_DELEGATION_SETS_BY_OWNER';
    case AccountLimitType.maxTrafficPoliciesByOwner:
      return 'MAX_TRAFFIC_POLICIES_BY_OWNER';
  }
}