public class InitiateJobResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the Amazon Glacier response to your request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
jobId
The ID of the job.
|
private java.lang.String |
location
The relative URI path of the job.
|
Constructor and Description |
---|
InitiateJobResult() |
Modifier and Type | Method and Description |
---|---|
InitiateJobResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobId()
The ID of the job.
|
java.lang.String |
getLocation()
The relative URI path of the job.
|
int |
hashCode() |
void |
setJobId(java.lang.String jobId)
The ID of the job.
|
void |
setLocation(java.lang.String location)
The relative URI path of the job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InitiateJobResult |
withJobId(java.lang.String jobId)
The ID of the job.
|
InitiateJobResult |
withLocation(java.lang.String location)
The relative URI path of the job.
|
private java.lang.String location
The relative URI path of the job.
private java.lang.String jobId
The ID of the job.
public void setLocation(java.lang.String location)
The relative URI path of the job.
location
- The relative URI path of the job.public java.lang.String getLocation()
The relative URI path of the job.
public InitiateJobResult withLocation(java.lang.String location)
The relative URI path of the job.
location
- The relative URI path of the job.public void setJobId(java.lang.String jobId)
The ID of the job.
jobId
- The ID of the job.public java.lang.String getJobId()
The ID of the job.
public InitiateJobResult withJobId(java.lang.String jobId)
The ID of the job.
jobId
- The ID of the job.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 InitiateJobResult clone()
clone
in class java.lang.Object