toValue method
Implementation
String toValue() {
switch (this) {
case DeploymentTargetType.instanceTarget:
return 'InstanceTarget';
case DeploymentTargetType.lambdaTarget:
return 'LambdaTarget';
case DeploymentTargetType.eCSTarget:
return 'ECSTarget';
case DeploymentTargetType.cloudFormationTarget:
return 'CloudFormationTarget';
}
}