/**
  * Sets the optional version ID specifying which version of the object to download. If not
  * specified, the most recent version will be downloaded.
  *
  * <p>Objects created before versioning was enabled or when versioning is suspended will be given
  * the default <code>null</code> version ID (see {@link Constants#NULL_VERSION_ID}). Note that the
  * <code>null</code> version ID is a valid version ID and is not the same as not having a version
  * ID.
  *
  * <p>For more information about enabling versioning for a bucket, see {@link
  * AmazonS3#setBucketVersioningConfiguration(SetBucketVersioningConfigurationRequest)}.
  *
  * @param versionId The optional version ID specifying which version of the object to download.
  * @see GetObjectRequest#getVersionId()
  * @see GetObjectRequest#withVersionId(String)
  */
 public void setVersionId(String versionId) {
   s3ObjectIdBuilder.setVersionId(versionId);
 }
 /** Returns an immutable S3 object id. */
 public S3ObjectId getS3ObjectId() {
   return s3ObjectIdBuilder.build();
 }
 /**
  * Gets the optional version ID specifying which version of the object to download. If not
  * specified, the most recent version will be downloaded.
  *
  * <p>Objects created before versioning was enabled or when versioning is suspended are given the
  * default <code>null</code> version ID (see {@link Constants#NULL_VERSION_ID}). Note that the
  * <code>null</code> version ID is a valid version ID and is not the same as not having a version
  * ID.
  *
  * <p>For more information about enabling versioning for a bucket, see {@link
  * AmazonS3#setBucketVersioningConfiguration(SetBucketVersioningConfigurationRequest)}.
  *
  * @return The optional version ID specifying which version of the object to download. If not
  *     specified, the most recent version will be downloaded.
  * @see GetObjectRequest#setVersionId(String)
  * @see GetObjectRequest#withVersionId(String)
  */
 public String getVersionId() {
   return s3ObjectIdBuilder.getVersionId();
 }
 /**
  * Sets the key under which the object to be downloaded is stored.
  *
  * @param key The key under which the object to be downloaded is stored.
  * @see GetObjectRequest#getKey()
  * @see GetObjectRequest#withKey(String)
  */
 public void setKey(String key) {
   s3ObjectIdBuilder.setKey(key);
 }
 /**
  * Gets the key under which the object to be downloaded is stored.
  *
  * @return The key under which the object to be downloaded is stored.
  * @see GetObjectRequest#setKey(String)
  * @see GetObjectRequest#withKey(String)
  */
 public String getKey() {
   return s3ObjectIdBuilder.getKey();
 }
 /**
  * Sets the name of the bucket containing the object to be downloaded.
  *
  * @param bucketName The name of the bucket containing the object to be downloaded.
  * @see GetObjectRequest#getBucketName()
  * @see GetObjectRequest#withBucketName(String)
  */
 public void setBucketName(String bucketName) {
   s3ObjectIdBuilder.setBucket(bucketName);
 }
 /**
  * Gets the name of the bucket containing the object to be downloaded.
  *
  * @return The name of the bucket containing the object to be downloaded.
  * @see GetObjectRequest#setBucketName(String)
  * @see GetObjectRequest#withBucketName(String)
  */
 public String getBucketName() {
   return s3ObjectIdBuilder.getBucket();
 }