toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ArtifactsType.codepipeline:
      return 'CODEPIPELINE';
    case ArtifactsType.s3:
      return 'S3';
    case ArtifactsType.noArtifacts:
      return 'NO_ARTIFACTS';
  }
}