com.amazonaws.services.s3.model
Class AbortMultipartUploadRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.s3.model.AbortMultipartUploadRequest

public class AbortMultipartUploadRequest
extends AmazonWebServiceRequest

The AbortMultipartUploadRequest contains the parameters used for the AbortMultipartUpload method.

Required Parameters: BucketName, Key, UploadId

See Also:
AmazonS3.abortMultipartUpload(AbortMultipartUploadRequest)

Constructor Summary
AbortMultipartUploadRequest(String bucketName, String key, String uploadId)
          Constructs a new request to abort a multipart upload.
 
Method Summary
 String getBucketName()
          Returns the name of the bucket containing the multipart upload to abort.
 String getKey()
          Returns the key of the multipart upload to abort.
 String getUploadId()
          Returns the ID of the upload to abort.
 void setBucketName(String value)
          Sets the name of the bucket containing the multipart upload to abort.
 void setKey(String key)
          Sets the key of the multipart upload to abort.
 void setUploadId(String uploadId)
          Sets the ID of the upload to abort.
 AbortMultipartUploadRequest withBucketName(String bucketName)
          Sets the name of the bucket containing the multipart upload to abort and returns the updated object so that additional calls can be chained together.
 AbortMultipartUploadRequest withKey(String key)
          Sets the key of the multipart upload to abort and returns the updated AbortMultipartUploadRequest object so that additional method calls can be chained together.
 AbortMultipartUploadRequest withUploadId(String uploadId)
          Sets the ID of the multipart upload to abort, and returns this updated AbortMultipartUploadRequest object so that additional method calls can be chained together.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbortMultipartUploadRequest

public AbortMultipartUploadRequest(String bucketName,
                                   String key,
                                   String uploadId)
Constructs a new request to abort a multipart upload.

Parameters:
bucketName - The name of the bucket containing the multipart upload to abort.
key - The key of the multipart upload to abort.
uploadId - The ID of the multipart upload to abort.
Method Detail

getBucketName

public String getBucketName()
Returns the name of the bucket containing the multipart upload to abort.


setBucketName

public void setBucketName(String value)
Sets the name of the bucket containing the multipart upload to abort.


withBucketName

public AbortMultipartUploadRequest withBucketName(String bucketName)
Sets the name of the bucket containing the multipart upload to abort and returns the updated object so that additional calls can be chained together.

Parameters:
bucketName - The name of the bucket containing the multipart upload to abort.
Returns:
The updated AbortMultipartUploadRequest object.

getKey

public String getKey()
Returns the key of the multipart upload to abort.

Returns:
The key of the multipart upload to abort.

setKey

public void setKey(String key)
Sets the key of the multipart upload to abort.

Parameters:
key - The key of the multipart upload to abort.

withKey

public AbortMultipartUploadRequest withKey(String key)
Sets the key of the multipart upload to abort and returns the updated AbortMultipartUploadRequest object so that additional method calls can be chained together.

Parameters:
key - The key of the multipart upload to abort.
Returns:
The updated AbortMultipartUploadRequest.

getUploadId

public String getUploadId()
Returns the ID of the upload to abort.

Returns:
the ID of the upload to abort.

setUploadId

public void setUploadId(String uploadId)
Sets the ID of the upload to abort.


withUploadId

public AbortMultipartUploadRequest withUploadId(String uploadId)
Sets the ID of the multipart upload to abort, and returns this updated AbortMultipartUploadRequest object so that additional method calls can be chained together.

Parameters:
uploadId - The ID of the multipart upload to abort.
Returns:
The updated AbortMultipartUploadRequest object.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.