toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BucketLogsPermission.fullControl:
      return 'FULL_CONTROL';
    case BucketLogsPermission.read:
      return 'READ';
    case BucketLogsPermission.write:
      return 'WRITE';
  }
}