toValue method
Implementation
String toValue() {
switch (this) {
case InstanceMetricName.cPUUtilization:
return 'CPUUtilization';
case InstanceMetricName.networkIn:
return 'NetworkIn';
case InstanceMetricName.networkOut:
return 'NetworkOut';
case InstanceMetricName.statusCheckFailed:
return 'StatusCheckFailed';
case InstanceMetricName.statusCheckFailedInstance:
return 'StatusCheckFailed_Instance';
case InstanceMetricName.statusCheckFailedSystem:
return 'StatusCheckFailed_System';
case InstanceMetricName.burstCapacityTime:
return 'BurstCapacityTime';
case InstanceMetricName.burstCapacityPercentage:
return 'BurstCapacityPercentage';
}
}