toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentControllerType.ecs:
      return 'ECS';
    case DeploymentControllerType.codeDeploy:
      return 'CODE_DEPLOY';
    case DeploymentControllerType.external:
      return 'EXTERNAL';
  }
}