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:
  • Constructor Details

    • InitiateJobResult

      public InitiateJobResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public InitiateJobResult clone()
      Overrides:
      clone in class Object