com.amazonaws.services.cloudfront_2012_03_15.model

## クラス InvalidationBatch

- java.lang.Object
- - com.amazonaws.services.cloudfront_2012_03_15.model.InvalidationBatch

-     public class InvalidationBatch
      extends java.lang.Object

  An invalidation batch.

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

    コンストラクタ
    コンストラクタと説明
    `InvalidationBatch()` Default constructor for a new InvalidationBatch object.
    `InvalidationBatch(java.util.List<java.lang.String> paths, java.lang.String callerReference)` Constructs a new InvalidationBatch object.
    `InvalidationBatch(java.lang.String callerReference)` Constructs a new InvalidationBatch object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCallerReference()` A unique name that ensures the request can't be replayed.
    `java.util.List<java.lang.String>` | `getPaths()` The path of the object to invalidate.
    `int` | `hashCode()`
    `void` | `setCallerReference(java.lang.String callerReference)` A unique name that ensures the request can't be replayed.
    `void` | `setPaths(java.util.Collection<java.lang.String> paths)` The path of the object to invalidate.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InvalidationBatch` | `withCallerReference(java.lang.String callerReference)` A unique name that ensures the request can't be replayed.
    `InvalidationBatch` | `withPaths(java.util.Collection<java.lang.String> paths)` The path of the object to invalidate.
    `InvalidationBatch` | `withPaths(java.lang.String... paths)` The path of the object to invalidate.

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

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

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

    - #### InvalidationBatch

          public InvalidationBatch()

      Default constructor for a new InvalidationBatch object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### InvalidationBatch

          public InvalidationBatch(java.util.List<java.lang.String> paths,
                           java.lang.String callerReference)

      Constructs a new InvalidationBatch object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `paths` - The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.
        `callerReference` - A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

    - #### InvalidationBatch

          public InvalidationBatch(java.lang.String callerReference)

      Constructs a new InvalidationBatch object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `callerReference` - A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

  - ### メソッドの詳細

    - #### getPaths

          public java.util.List<java.lang.String> getPaths()

      The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.
      戻り値:
        The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.

    - #### setPaths

          public void setPaths(java.util.Collection<java.lang.String> paths)

      The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.
      パラメータ:
        `paths` - The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.

    - #### withPaths

          public InvalidationBatch withPaths(java.lang.String... paths)

      The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.

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

      パラメータ:
        `paths` - The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### withPaths

          public InvalidationBatch withPaths(java.util.Collection<java.lang.String> paths)

      The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.

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

      パラメータ:
        `paths` - The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### getCallerReference

          public java.lang.String getCallerReference()

      A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.
      戻り値:
        A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

    - #### setCallerReference

          public void setCallerReference(java.lang.String callerReference)

      A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.
      パラメータ:
        `callerReference` - A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

    - #### withCallerReference

          public InvalidationBatch withCallerReference(java.lang.String callerReference)

      A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

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

      パラメータ:
        `callerReference` - A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### 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`