Class ActiveTrustedSigners

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class ActiveTrustedSigners
    extends Object
    implements Serializable, Cloneable
    A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for the default cache behavior or for any of the other cache behaviors for this distribution. These are accounts that you want to allow to create signed URLs for private content.
    See Also:
    Serialized Form
    • Constructor Detail

      • ActiveTrustedSigners

        public ActiveTrustedSigners()
        Default constructor for ActiveTrustedSigners object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • ActiveTrustedSigners

        public ActiveTrustedSigners​(List<Signer> items)
        Constructs a new ActiveTrustedSigners object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        items - A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
    • Method Detail

      • setEnabled

        public void setEnabled​(Boolean enabled)
        Each active trusted signer.
        Parameters:
        enabled - Each active trusted signer.
      • getEnabled

        public Boolean getEnabled()
        Each active trusted signer.
        Returns:
        Each active trusted signer.
      • withEnabled

        public ActiveTrustedSigners withEnabled​(Boolean enabled)
        Each active trusted signer.
        Parameters:
        enabled - Each active trusted signer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnabled

        public Boolean isEnabled()
        Each active trusted signer.
        Returns:
        Each active trusted signer.
      • setQuantity

        public void setQuantity​(Integer quantity)
        The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.
        Parameters:
        quantity - The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.
      • getQuantity

        public Integer getQuantity()
        The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.
        Returns:
        The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.
      • withQuantity

        public ActiveTrustedSigners withQuantity​(Integer quantity)
        The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.
        Parameters:
        quantity - The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getItems

        public List<Signer> getItems()
        A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
        Returns:
        A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
      • setItems

        public void setItems​(Collection<Signer> items)
        A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
        Parameters:
        items - A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
      • withItems

        public ActiveTrustedSigners withItems​(Signer... items)
        A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.

        NOTE: This method appends the values to the existing list (if any). Use setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the existing values.

        Parameters:
        items - A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withItems

        public ActiveTrustedSigners withItems​(Collection<Signer> items)
        A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
        Parameters:
        items - A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object