public class InitiateMultipartUploadResult extends Object implements Serializable
Contains the Amazon Glacier response to your request.
Constructor and Description |
---|
InitiateMultipartUploadResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getLocation()
public void setLocation(String location)
location
- The relative URI path of the multipart upload ID Amazon Glacier
created.public InitiateMultipartUploadResult withLocation(String location)
Returns a reference to this object so that method calls can be chained together.
location
- The relative URI path of the multipart upload ID Amazon Glacier
created.public String getUploadId()
public void setUploadId(String uploadId)
uploadId
- The ID of the multipart upload. This value is also included as part of
the location.public InitiateMultipartUploadResult withUploadId(String uploadId)
Returns a reference to this object so that method calls can be chained together.
uploadId
- The ID of the multipart upload. This value is also included as part of
the location.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.