toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ImageType.ami:
      return 'AMI';
    case ImageType.docker:
      return 'DOCKER';
  }
}