toValue method
Implementation
String toValue() {
switch (this) {
case LoadBalancerMetricName.clientTLSNegotiationErrorCount:
return 'ClientTLSNegotiationErrorCount';
case LoadBalancerMetricName.healthyHostCount:
return 'HealthyHostCount';
case LoadBalancerMetricName.unhealthyHostCount:
return 'UnhealthyHostCount';
case LoadBalancerMetricName.hTTPCodeLb_4xxCount:
return 'HTTPCode_LB_4XX_Count';
case LoadBalancerMetricName.hTTPCodeLb_5xxCount:
return 'HTTPCode_LB_5XX_Count';
case LoadBalancerMetricName.hTTPCodeInstance_2xxCount:
return 'HTTPCode_Instance_2XX_Count';
case LoadBalancerMetricName.hTTPCodeInstance_3xxCount:
return 'HTTPCode_Instance_3XX_Count';
case LoadBalancerMetricName.hTTPCodeInstance_4xxCount:
return 'HTTPCode_Instance_4XX_Count';
case LoadBalancerMetricName.hTTPCodeInstance_5xxCount:
return 'HTTPCode_Instance_5XX_Count';
case LoadBalancerMetricName.instanceResponseTime:
return 'InstanceResponseTime';
case LoadBalancerMetricName.rejectedConnectionCount:
return 'RejectedConnectionCount';
case LoadBalancerMetricName.requestCount:
return 'RequestCount';
}
}