toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case S3MetadataDirective.copy:
      return 'COPY';
    case S3MetadataDirective.replace:
      return 'REPLACE';
  }
}