Class InitiateJobResult
- java.lang.Object
-
- com.amazonaws.services.glacier.model.InitiateJobResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InitiateJobResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InitiateJobResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InitiateJobResult
clone()
boolean
equals(Object obj)
String
getJobId()
The ID of the job.String
getLocation()
The relative URI path of the job.int
hashCode()
void
setJobId(String jobId)
The ID of the job.void
setLocation(String location)
The relative URI path of the job.String
toString()
Returns a string representation of this object; useful for testing and debugging.InitiateJobResult
withJobId(String jobId)
The ID of the job.InitiateJobResult
withLocation(String location)
The relative URI path of the job.
-
-
-
Method Detail
-
setLocation
public void setLocation(String location)
The relative URI path of the job.
- Parameters:
location
- The relative URI path of the job.
-
getLocation
public String getLocation()
The relative URI path of the job.
- Returns:
- The relative URI path of the job.
-
withLocation
public InitiateJobResult withLocation(String location)
The relative URI path of the job.
- Parameters:
location
- The relative URI path of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setJobId
public void setJobId(String jobId)
The ID of the job.
- Parameters:
jobId
- The ID of the job.
-
getJobId
public String getJobId()
The ID of the job.
- Returns:
- The ID of the job.
-
withJobId
public InitiateJobResult withJobId(String jobId)
The ID of the job.
- Parameters:
jobId
- The ID of the job.- 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 InitiateJobResult clone()
-
-