toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OpenSearchWarmPartitionInstanceType.ultrawarm1MediumSearch:
      return 'ultrawarm1.medium.search';
    case OpenSearchWarmPartitionInstanceType.ultrawarm1LargeSearch:
      return 'ultrawarm1.large.search';
    case OpenSearchWarmPartitionInstanceType.ultrawarm1XlargeSearch:
      return 'ultrawarm1.xlarge.search';
  }
}