toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentTarget.greengrass:
      return 'GREENGRASS';
    case DeploymentTarget.cloud:
      return 'CLOUD';
  }
}