/** * Sets the key of the object to delete and returns this object, enabling * additional method calls to be chained together. * * @param key * The key of the object to delete. * * @return The updated {@link DeleteObjectRequest} object, enabling additional method * calls to chained together. */ public DeleteObjectRequest withKey(String key) { setKey(key); return this; }
/** * Constructs a new * {@link DeleteObjectRequest}, * specifying the object's bucket name and key. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * @param key * The key of the object to delete. */ public DeleteObjectRequest(String bucketName, String key) { setBucketName(bucketName); setKey(key); }
/** * Sets the key of the object to delete and returns this object, enabling * additional method calls to be chained together. * * @param key * The key of the object to delete. * * @return The updated {@link DeleteObjectRequest} object, enabling additional method * calls to chained together. */ public DeleteObjectRequest withKey(String key) { setKey(key); return this; }
/** * Constructs a new * {@link DeleteObjectRequest}, * specifying the object's bucket name and key. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * @param key * The key of the object to delete. */ public DeleteObjectRequest(String bucketName, String key) { setBucketName(bucketName); setKey(key); }
/** * Sets the key of the object to delete and returns this object, enabling * additional method calls to be chained together. * * @param key * The key of the object to delete. * * @return The updated {@link DeleteObjectRequest} object, enabling additional method * calls to chained together. */ public DeleteObjectRequest withKey(String key) { setKey(key); return this; }
/** * Sets the key of the object to delete and returns this object, enabling * additional method calls to be chained together. * * @param key * The key of the object to delete. * * @return The updated {@link DeleteObjectRequest} object, enabling additional method * calls to chained together. */ public DeleteObjectRequest withKey(String key) { setKey(key); return this; }
/** * Constructs a new * {@link DeleteObjectRequest}, * specifying the object's bucket name and key. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * @param key * The key of the object to delete. */ public DeleteObjectRequest(String bucketName, String key) { setBucketName(bucketName); setKey(key); }
/** * Constructs a new * {@link DeleteObjectRequest}, * specifying the object's bucket name and key. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * @param key * The key of the object to delete. */ public DeleteObjectRequest(String bucketName, String key) { setBucketName(bucketName); setKey(key); }