toValue method
Implementation
String toValue() {
switch (this) {
case PartitionInstanceType.searchM1Small:
return 'search.m1.small';
case PartitionInstanceType.searchM1Large:
return 'search.m1.large';
case PartitionInstanceType.searchM2Xlarge:
return 'search.m2.xlarge';
case PartitionInstanceType.searchM2_2xlarge:
return 'search.m2.2xlarge';
case PartitionInstanceType.searchM3Medium:
return 'search.m3.medium';
case PartitionInstanceType.searchM3Large:
return 'search.m3.large';
case PartitionInstanceType.searchM3Xlarge:
return 'search.m3.xlarge';
case PartitionInstanceType.searchM3_2xlarge:
return 'search.m3.2xlarge';
case PartitionInstanceType.searchSmall:
return 'search.small';
case PartitionInstanceType.searchMedium:
return 'search.medium';
case PartitionInstanceType.searchLarge:
return 'search.large';
case PartitionInstanceType.searchXlarge:
return 'search.xlarge';
case PartitionInstanceType.search_2xlarge:
return 'search.2xlarge';
}
}