com.amazonaws.services.glacier.model

## クラス GetJobOutputResult

- java.lang.Object
- - com.amazonaws.services.glacier.model.GetJobOutputResult

- すべての実装されたインタフェース:
    java.io.Serializable

      public class GetJobOutputResult
      extends java.lang.Object
      implements java.io.Serializable

  Contains the Amazon Glacier response to your request.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `GetJobOutputResult()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAcceptRanges()` Indicates the range units accepted.
    `java.lang.String` | `getArchiveDescription()` The description of an archive.
    `java.io.InputStream` | `getBody()` The job data, either archive data or inventory data.
    `java.lang.String` | `getChecksum()` The checksum of the data in the response.
    `java.lang.String` | `getContentRange()` The range of bytes returned by Amazon Glacier.
    `java.lang.String` | `getContentType()` The Content-Type depends on whether the job output is an archive or a vault inventory.
    `java.lang.Integer` | `getStatus()` The HTTP response code for a job output request.
    `int` | `hashCode()`
    `void` | `setAcceptRanges(java.lang.String acceptRanges)` Indicates the range units accepted.
    `void` | `setArchiveDescription(java.lang.String archiveDescription)` The description of an archive.
    `void` | `setBody(java.io.InputStream body)` The job data, either archive data or inventory data.
    `void` | `setChecksum(java.lang.String checksum)` The checksum of the data in the response.
    `void` | `setContentRange(java.lang.String contentRange)` The range of bytes returned by Amazon Glacier.
    `void` | `setContentType(java.lang.String contentType)` The Content-Type depends on whether the job output is an archive or a vault inventory.
    `void` | `setStatus(java.lang.Integer status)` The HTTP response code for a job output request.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `GetJobOutputResult` | `withAcceptRanges(java.lang.String acceptRanges)` Indicates the range units accepted.
    `GetJobOutputResult` | `withArchiveDescription(java.lang.String archiveDescription)` The description of an archive.
    `GetJobOutputResult` | `withBody(java.io.InputStream body)` The job data, either archive data or inventory data.
    `GetJobOutputResult` | `withChecksum(java.lang.String checksum)` The checksum of the data in the response.
    `GetJobOutputResult` | `withContentRange(java.lang.String contentRange)` The range of bytes returned by Amazon Glacier.
    `GetJobOutputResult` | `withContentType(java.lang.String contentType)` The Content-Type depends on whether the job output is an archive or a vault inventory.
    `GetJobOutputResult` | `withStatus(java.lang.Integer status)` The HTTP response code for a job output request.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### GetJobOutputResult

          public GetJobOutputResult()

  - ### メソッドの詳細

    - #### getBody

          public java.io.InputStream getBody()

      The job data, either archive data or inventory data.
      戻り値:
        The job data, either archive data or inventory data.

    - #### setBody

          public void setBody(java.io.InputStream body)

      The job data, either archive data or inventory data.
      パラメータ:
        `body` - The job data, either archive data or inventory data.

    - #### withBody

          public GetJobOutputResult withBody(java.io.InputStream body)

      The job data, either archive data or inventory data.

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

      パラメータ:
        `body` - The job data, either archive data or inventory data.

    - #### getChecksum

          public java.lang.String getChecksum()

      The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions:
      - You get the entire range of the archive.
      - You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header.
      - You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.
      戻り値:
        The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions:
        - You get the entire range of the archive.
        - You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header.
        - You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.

    - #### setChecksum

          public void setChecksum(java.lang.String checksum)

      The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions:
      - You get the entire range of the archive.
      - You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header.
      - You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.
      パラメータ:
        `checksum` - The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions:
        - You get the entire range of the archive.
        - You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header.
        - You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.

    - #### withChecksum

          public GetJobOutputResult withChecksum(java.lang.String checksum)

      The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions:
      - You get the entire range of the archive.
      - You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header.
      - You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.

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

      パラメータ:
        `checksum` - The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions:
        - You get the entire range of the archive.
        - You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header.
        - You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.

    - #### getStatus

          public java.lang.Integer getStatus()

      The HTTP response code for a job output request. The value depends on whether a range was specified in the request.
      戻り値:
        The HTTP response code for a job output request. The value depends on whether a range was specified in the request.

    - #### setStatus

          public void setStatus(java.lang.Integer status)

      The HTTP response code for a job output request. The value depends on whether a range was specified in the request.
      パラメータ:
        `status` - The HTTP response code for a job output request. The value depends on whether a range was specified in the request.

    - #### withStatus

          public GetJobOutputResult withStatus(java.lang.Integer status)

      The HTTP response code for a job output request. The value depends on whether a range was specified in the request.

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

      パラメータ:
        `status` - The HTTP response code for a job output request. The value depends on whether a range was specified in the request.

    - #### getContentRange

          public java.lang.String getContentRange()

      The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.
      戻り値:
        The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.

    - #### setContentRange

          public void setContentRange(java.lang.String contentRange)

      The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.
      パラメータ:
        `contentRange` - The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.

    - #### withContentRange

          public GetJobOutputResult withContentRange(java.lang.String contentRange)

      The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.

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

      パラメータ:
        `contentRange` - The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.

    - #### getAcceptRanges

          public java.lang.String getAcceptRanges()

      Indicates the range units accepted. For more information, go to RFC2616.
      戻り値:
        Indicates the range units accepted. For more information, go to RFC2616.

    - #### setAcceptRanges

          public void setAcceptRanges(java.lang.String acceptRanges)

      Indicates the range units accepted. For more information, go to RFC2616.
      パラメータ:
        `acceptRanges` - Indicates the range units accepted. For more information, go to RFC2616.

    - #### withAcceptRanges

          public GetJobOutputResult withAcceptRanges(java.lang.String acceptRanges)

      Indicates the range units accepted. For more information, go to RFC2616.

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

      パラメータ:
        `acceptRanges` - Indicates the range units accepted. For more information, go to RFC2616.

    - #### getContentType

          public java.lang.String getContentType()

      The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.
      戻り値:
        The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.

    - #### setContentType

          public void setContentType(java.lang.String contentType)

      The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.
      パラメータ:
        `contentType` - The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.

    - #### withContentType

          public GetJobOutputResult withContentType(java.lang.String contentType)

      The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.

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

      パラメータ:
        `contentType` - The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.

    - #### getArchiveDescription

          public java.lang.String getArchiveDescription()

      The description of an archive.
      戻り値:
        The description of an archive.

    - #### setArchiveDescription

          public void setArchiveDescription(java.lang.String archiveDescription)

      The description of an archive.
      パラメータ:
        `archiveDescription` - The description of an archive.

    - #### withArchiveDescription

          public GetJobOutputResult withArchiveDescription(java.lang.String archiveDescription)

      The description of an archive.

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

      パラメータ:
        `archiveDescription` - The description of an archive.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`