public class CreateUploadResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the result of a create upload request.
Modifier and Type | Field and Description |
---|---|
private Upload |
upload
The newly created upload.
|
Constructor and Description |
---|
CreateUploadResult() |
Modifier and Type | Method and Description |
---|---|
CreateUploadResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Upload |
getUpload()
The newly created upload.
|
int |
hashCode() |
void |
setUpload(Upload upload)
The newly created upload.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUploadResult |
withUpload(Upload upload)
The newly created upload.
|
private Upload upload
The newly created upload.
public void setUpload(Upload upload)
The newly created upload.
upload
- The newly created upload.public Upload getUpload()
The newly created upload.
public CreateUploadResult withUpload(Upload upload)
The newly created upload.
upload
- The newly created upload.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 CreateUploadResult clone()
clone
in class java.lang.Object