Class ActiveTrustedSigners
- java.lang.Object
-
- com.amazonaws.services.cloudfront.model.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 Summary
Constructors Constructor Description ActiveTrustedSigners()
Default constructor for ActiveTrustedSigners object.ActiveTrustedSigners(List<Signer> items)
Constructs a new ActiveTrustedSigners object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveTrustedSigners
clone()
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(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(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
withQuantity(Integer quantity)
The number of unique trusted signers included in all cache behaviors.
-
-
-
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)
orwithItems(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActiveTrustedSigners clone()
-
-