Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class InitiateJobResult

java.lang.Object
  extended by com.amazonaws.services.glacier.model.InitiateJobResult
All Implemented Interfaces:
Serializable

public class InitiateJobResult
extends Object
implements Serializable

Contains the Amazon Glacier response to your request.

See Also:
Serialized Form

Constructor Summary
InitiateJobResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitiateJobResult

public InitiateJobResult()
Method Detail

getLocation

public String getLocation()
The relative URI path of the job.

Returns:
The relative URI path of the job.

setLocation

public void setLocation(String location)
The relative URI path of the job.

Parameters:
location - The relative URI path of the job.

withLocation

public InitiateJobResult withLocation(String location)
The relative URI path of the job.

Returns a reference to this object so that method calls can be chained together.

Parameters:
location - The relative URI path of the job.
Returns:
A reference to this updated object so that method calls can be chained together.

getJobId

public String getJobId()
The ID of the job.

Returns:
The ID of the job.

setJobId

public void setJobId(String jobId)
The ID of the job.

Parameters:
jobId - The ID of the job.

withJobId

public InitiateJobResult withJobId(String jobId)
The ID of the job.

Returns a reference to this object so that method calls can be chained together.

Parameters:
jobId - The ID of the job.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.