discontinuedPackage aws_deploy_api has been discontinued and replaced by aws_client.

toFileExistsBehavior method

FileExistsBehavior toFileExistsBehavior()

Implementation

FileExistsBehavior toFileExistsBehavior() {
  switch (this) {
    case 'DISALLOW':
      return FileExistsBehavior.disallow;
    case 'OVERWRITE':
      return FileExistsBehavior.overwrite;
    case 'RETAIN':
      return FileExistsBehavior.retain;
  }
  throw Exception('$this is not known in enum FileExistsBehavior');
}