/**
  * Set the bucket type. If unset "default" is used.
  *
  * @param bucketType the bucket type to use
  * @return A reference to this object.
  */
 public FetchBucketPropsOperation withBucketType(ByteArrayWrapper bucketType) {
   if (null == bucketType || bucketType.length() == 0) {
     throw new IllegalArgumentException("Bucket type can not be null or zero length");
   }
   this.bucketType = bucketType;
   return this;
 }
  public FetchBucketPropsOperation(ByteArrayWrapper bucketName) {

    if (null == bucketName || bucketName.length() == 0) {
      throw new IllegalArgumentException("Bucket name can not be null or zero length");
    }
    this.bucketName = bucketName;
  }