/** * Sets the name of the Amazon S3 bucket containing the object to delete * and returns this object, enabling additional method calls to be chained * together. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * * @return The updated {@link DeleteObjectRequest} * object, enabling additional method * calls to be chained together. */ public DeleteObjectRequest withBucketName(String bucketName) { setBucketName(bucketName); 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 name of the Amazon S3 bucket containing the object to delete * and returns this object, enabling additional method calls to be chained * together. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * * @return The updated {@link DeleteObjectRequest} * object, enabling additional method * calls to be chained together. */ public DeleteObjectRequest withBucketName(String bucketName) { setBucketName(bucketName); 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 name of the Amazon S3 bucket containing the object to delete * and returns this object, enabling additional method calls to be chained * together. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * * @return The updated {@link DeleteObjectRequest} * object, enabling additional method * calls to be chained together. */ public DeleteObjectRequest withBucketName(String bucketName) { setBucketName(bucketName); return this; }
/** * Sets the name of the Amazon S3 bucket containing the object to delete * and returns this object, enabling additional method calls to be chained * together. * * @param bucketName * The name of the Amazon S3 bucket containing the object to * delete. * * @return The updated {@link DeleteObjectRequest} * object, enabling additional method * calls to be chained together. */ public DeleteObjectRequest withBucketName(String bucketName) { setBucketName(bucketName); 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); }