com.amazonaws.services.cloudfront.model

## クラス TrustedSigners

- java.lang.Object
- - com.amazonaws.services.cloudfront.model.TrustedSigners

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

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

  A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getEnabled()` Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.
    `java.util.List<java.lang.String>` | `getItems()` Optional: A complex type that contains trusted signers for this cache behavior.
    `java.lang.Integer` | `getQuantity()` The number of trusted signers for this cache behavior.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEnabled()` Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.
    `void` | `setEnabled(java.lang.Boolean enabled)` Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.
    `void` | `setItems(java.util.Collection<java.lang.String> items)` Optional: A complex type that contains trusted signers for this cache behavior.
    `void` | `setQuantity(java.lang.Integer quantity)` The number of trusted signers for this cache behavior.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `TrustedSigners` | `withEnabled(java.lang.Boolean enabled)` Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.
    `TrustedSigners` | `withItems(java.util.Collection<java.lang.String> items)` Optional: A complex type that contains trusted signers for this cache behavior.
    `TrustedSigners` | `withItems(java.lang.String... items)` Optional: A complex type that contains trusted signers for this cache behavior.
    `TrustedSigners` | `withQuantity(java.lang.Integer quantity)` The number of trusted signers for this cache behavior.

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

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

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

    - #### TrustedSigners

          public TrustedSigners()

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

    - #### TrustedSigners

          public TrustedSigners(java.util.List<java.lang.String> items)

      Constructs a new TrustedSigners object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `items` - Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

  - ### メソッドの詳細

    - #### isEnabled

          public java.lang.Boolean isEnabled()

      Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.
      戻り値:
        Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

    - #### setEnabled

          public void setEnabled(java.lang.Boolean enabled)

      Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.
      パラメータ:
        `enabled` - Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

    - #### withEnabled

          public TrustedSigners withEnabled(java.lang.Boolean enabled)

      Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

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

      パラメータ:
        `enabled` - Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

    - #### getEnabled

          public java.lang.Boolean getEnabled()

      Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.
      戻り値:
        Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

    - #### getQuantity

          public java.lang.Integer getQuantity()

      The number of trusted signers for this cache behavior.
      戻り値:
        The number of trusted signers for this cache behavior.

    - #### setQuantity

          public void setQuantity(java.lang.Integer quantity)

      The number of trusted signers for this cache behavior.
      パラメータ:
        `quantity` - The number of trusted signers for this cache behavior.

    - #### withQuantity

          public TrustedSigners withQuantity(java.lang.Integer quantity)

      The number of trusted signers for this cache behavior.

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

      パラメータ:
        `quantity` - The number of trusted signers for this cache behavior.

    - #### getItems

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

      Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.
      戻り値:
        Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

    - #### setItems

          public void setItems(java.util.Collection<java.lang.String> items)

      Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.
      パラメータ:
        `items` - Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

    - #### withItems

          public TrustedSigners withItems(java.lang.String... items)

      Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

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

      パラメータ:
        `items` - Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

    - #### withItems

          public TrustedSigners withItems(java.util.Collection<java.lang.String> items)

      Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

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

      パラメータ:
        `items` - Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.

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