public class ActiveTrustedSigners extends Object implements Serializable
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.
| Constructor and Description | 
|---|
| ActiveTrustedSigners()Default constructor for a new ActiveTrustedSigners object. | 
| ActiveTrustedSigners(List<Signer> items)Constructs a new ActiveTrustedSigners object. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| Boolean | getEnabled()Each active trusted signer. | 
| 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. | 
| Integer | getQuantity()The number of unique trusted signers included in all cache behaviors. | 
| int | hashCode() | 
| Boolean | isEnabled()Each active trusted signer. | 
| void | setEnabled(Boolean enabled)Each active trusted signer. | 
| 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. | 
| void | setQuantity(Integer quantity)The number of unique trusted signers included in all cache behaviors. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ActiveTrustedSigners | withEnabled(Boolean enabled)Each active trusted signer. | 
| 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. | 
| 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. | 
| ActiveTrustedSigners | withQuantity(Integer quantity)The number of unique trusted signers included in all cache behaviors. | 
public ActiveTrustedSigners()
public ActiveTrustedSigners(List<Signer> items)
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.public Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled - Each active trusted signer.public ActiveTrustedSigners withEnabled(Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled - Each active trusted signer.public Boolean getEnabled()
public Integer getQuantity()
public void setQuantity(Integer quantity)
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.public ActiveTrustedSigners withQuantity(Integer quantity)
Returns a reference to this object so that method calls can be chained together.
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.public List<Signer> getItems()
public void setItems(Collection<Signer> items)
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.public ActiveTrustedSigners withItems(Signer... items)
Returns a reference to this object so that method calls can be chained together.
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.public ActiveTrustedSigners withItems(Collection<Signer> items)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.