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 InitiateJobResultclone()booleanequals(Object obj)StringgetJobId()The ID of the job.StringgetLocation()The relative URI path of the job.inthashCode()voidsetJobId(String jobId)The ID of the job.voidsetLocation(String location)The relative URI path of the job.StringtoString()Returns a string representation of this object; useful for testing and debugging.InitiateJobResultwithJobId(String jobId)The ID of the job.InitiateJobResultwithLocation(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InitiateJobResult clone()
-
-