toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ImagePullCredentialsType.codebuild:
      return 'CODEBUILD';
    case ImagePullCredentialsType.serviceRole:
      return 'SERVICE_ROLE';
  }
}