discontinuedPackage aws_deploy_api has been discontinued and replaced by aws_client.

toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FileExistsBehavior.disallow:
      return 'DISALLOW';
    case FileExistsBehavior.overwrite:
      return 'OVERWRITE';
    case FileExistsBehavior.retain:
      return 'RETAIN';
  }
}