public class InitiateMultipartUploadResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The Amazon Glacier response to your request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
location
The relative URI path of the multipart upload ID Amazon Glacier created.
|
private java.lang.String |
uploadId
The ID of the multipart upload.
|
Constructor and Description |
---|
InitiateMultipartUploadResult() |
Modifier and Type | Method and Description |
---|---|
InitiateMultipartUploadResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLocation()
The relative URI path of the multipart upload ID Amazon Glacier created.
|
java.lang.String |
getUploadId()
The ID of the multipart upload.
|
int |
hashCode() |
void |
setLocation(java.lang.String location)
The relative URI path of the multipart upload ID Amazon Glacier created.
|
void |
setUploadId(java.lang.String uploadId)
The ID of the multipart upload.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InitiateMultipartUploadResult |
withLocation(java.lang.String location)
The relative URI path of the multipart upload ID Amazon Glacier created.
|
InitiateMultipartUploadResult |
withUploadId(java.lang.String uploadId)
The ID of the multipart upload.
|
private java.lang.String location
The relative URI path of the multipart upload ID Amazon Glacier created.
private java.lang.String uploadId
The ID of the multipart upload. This value is also included as part of the location.
public void setLocation(java.lang.String location)
The relative URI path of the multipart upload ID Amazon Glacier created.
location
- The relative URI path of the multipart upload ID Amazon Glacier
created.public java.lang.String getLocation()
The relative URI path of the multipart upload ID Amazon Glacier created.
public InitiateMultipartUploadResult withLocation(java.lang.String location)
The relative URI path of the multipart upload ID Amazon Glacier created.
location
- The relative URI path of the multipart upload ID Amazon Glacier
created.public void setUploadId(java.lang.String uploadId)
The ID of the multipart upload. This value is also included as part of the location.
uploadId
- The ID of the multipart upload. This value is also included as
part of the location.public java.lang.String getUploadId()
The ID of the multipart upload. This value is also included as part of the location.
public InitiateMultipartUploadResult withUploadId(java.lang.String uploadId)
The ID of the multipart upload. This value is also included as part of the location.
uploadId
- The ID of the multipart upload. This value is also included as
part of the location.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public InitiateMultipartUploadResult clone()
clone
in class java.lang.Object