toValue method
Implementation
String toValue() {
switch (this) {
case ExportableInstanceField.accountId:
return 'AccountId';
case ExportableInstanceField.instanceArn:
return 'InstanceArn';
case ExportableInstanceField.instanceName:
return 'InstanceName';
case ExportableInstanceField.finding:
return 'Finding';
case ExportableInstanceField.lookbackPeriodInDays:
return 'LookbackPeriodInDays';
case ExportableInstanceField.currentInstanceType:
return 'CurrentInstanceType';
case ExportableInstanceField.utilizationMetricsCpuMaximum:
return 'UtilizationMetricsCpuMaximum';
case ExportableInstanceField.utilizationMetricsMemoryMaximum:
return 'UtilizationMetricsMemoryMaximum';
case ExportableInstanceField.utilizationMetricsEbsReadOpsPerSecondMaximum:
return 'UtilizationMetricsEbsReadOpsPerSecondMaximum';
case ExportableInstanceField
.utilizationMetricsEbsWriteOpsPerSecondMaximum:
return 'UtilizationMetricsEbsWriteOpsPerSecondMaximum';
case ExportableInstanceField
.utilizationMetricsEbsReadBytesPerSecondMaximum:
return 'UtilizationMetricsEbsReadBytesPerSecondMaximum';
case ExportableInstanceField
.utilizationMetricsEbsWriteBytesPerSecondMaximum:
return 'UtilizationMetricsEbsWriteBytesPerSecondMaximum';
case ExportableInstanceField.currentOnDemandPrice:
return 'CurrentOnDemandPrice';
case ExportableInstanceField.currentStandardOneYearNoUpfrontReservedPrice:
return 'CurrentStandardOneYearNoUpfrontReservedPrice';
case ExportableInstanceField
.currentStandardThreeYearNoUpfrontReservedPrice:
return 'CurrentStandardThreeYearNoUpfrontReservedPrice';
case ExportableInstanceField.currentVCpus:
return 'CurrentVCpus';
case ExportableInstanceField.currentMemory:
return 'CurrentMemory';
case ExportableInstanceField.currentStorage:
return 'CurrentStorage';
case ExportableInstanceField.currentNetwork:
return 'CurrentNetwork';
case ExportableInstanceField.recommendationOptionsInstanceType:
return 'RecommendationOptionsInstanceType';
case ExportableInstanceField
.recommendationOptionsProjectedUtilizationMetricsCpuMaximum:
return 'RecommendationOptionsProjectedUtilizationMetricsCpuMaximum';
case ExportableInstanceField
.recommendationOptionsProjectedUtilizationMetricsMemoryMaximum:
return 'RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum';
case ExportableInstanceField.recommendationOptionsPerformanceRisk:
return 'RecommendationOptionsPerformanceRisk';
case ExportableInstanceField.recommendationOptionsVcpus:
return 'RecommendationOptionsVcpus';
case ExportableInstanceField.recommendationOptionsMemory:
return 'RecommendationOptionsMemory';
case ExportableInstanceField.recommendationOptionsStorage:
return 'RecommendationOptionsStorage';
case ExportableInstanceField.recommendationOptionsNetwork:
return 'RecommendationOptionsNetwork';
case ExportableInstanceField.recommendationOptionsOnDemandPrice:
return 'RecommendationOptionsOnDemandPrice';
case ExportableInstanceField
.recommendationOptionsStandardOneYearNoUpfrontReservedPrice:
return 'RecommendationOptionsStandardOneYearNoUpfrontReservedPrice';
case ExportableInstanceField
.recommendationOptionsStandardThreeYearNoUpfrontReservedPrice:
return 'RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice';
case ExportableInstanceField
.recommendationsSourcesRecommendationSourceArn:
return 'RecommendationsSourcesRecommendationSourceArn';
case ExportableInstanceField
.recommendationsSourcesRecommendationSourceType:
return 'RecommendationsSourcesRecommendationSourceType';
case ExportableInstanceField.lastRefreshTimestamp:
return 'LastRefreshTimestamp';
}
}