Class InitiateMultipartUploadResult
- java.lang.Object
-
- com.amazonaws.services.glacier.model.InitiateMultipartUploadResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InitiateMultipartUploadResult extends Object implements Serializable, Cloneable
The Amazon Glacier response to your request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InitiateMultipartUploadResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InitiateMultipartUploadResult
clone()
boolean
equals(Object obj)
String
getLocation()
The relative URI path of the multipart upload ID Amazon Glacier created.String
getUploadId()
The ID of the multipart upload.int
hashCode()
void
setLocation(String location)
The relative URI path of the multipart upload ID Amazon Glacier created.void
setUploadId(String uploadId)
The ID of the multipart upload.String
toString()
Returns a string representation of this object; useful for testing and debugging.InitiateMultipartUploadResult
withLocation(String location)
The relative URI path of the multipart upload ID Amazon Glacier created.InitiateMultipartUploadResult
withUploadId(String uploadId)
The ID of the multipart upload.
-
-
-
Method Detail
-
setLocation
public void setLocation(String location)
The relative URI path of the multipart upload ID Amazon Glacier created.
- Parameters:
location
- The relative URI path of the multipart upload ID Amazon Glacier created.
-
getLocation
public String getLocation()
The relative URI path of the multipart upload ID Amazon Glacier created.
- Returns:
- The relative URI path of the multipart upload ID Amazon Glacier created.
-
withLocation
public InitiateMultipartUploadResult withLocation(String location)
The relative URI path of the multipart upload ID Amazon Glacier created.
- Parameters:
location
- The relative URI path of the multipart upload ID Amazon Glacier created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadId
public void setUploadId(String uploadId)
The ID of the multipart upload. This value is also included as part of the location.
- Parameters:
uploadId
- The ID of the multipart upload. This value is also included as part of the location.
-
getUploadId
public String getUploadId()
The ID of the multipart upload. This value is also included as part of the location.
- Returns:
- The ID of the multipart upload. This value is also included as part of the location.
-
withUploadId
public InitiateMultipartUploadResult withUploadId(String uploadId)
The ID of the multipart upload. This value is also included as part of the location.
- Parameters:
uploadId
- The ID of the multipart upload. This value is also included as part of the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InitiateMultipartUploadResult clone()
-
-