class S3WritableByteChannel implements WritableByteChannel {

  @VisibleForTesting
  static boolean atMostOne(boolean... values) {
    boolean one = false;
    for (boolean value : values) {
      if (!one && value) {
        one = true;
      } else if (value) {
        return false;
      }
    }
    return true;
  }

    S3WritableByteChannel(AmazonS3 amazonS3, S3ResourceId path, String contentType, S3Options options);

}