toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ObjectOwnership.bucketOwnerPreferred:
      return 'BucketOwnerPreferred';
    case ObjectOwnership.objectWriter:
      return 'ObjectWriter';
  }
}