toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SupportedSavingsPlansType.computeSp:
      return 'COMPUTE_SP';
    case SupportedSavingsPlansType.ec2InstanceSp:
      return 'EC2_INSTANCE_SP';
  }
}