Class ActiveTrustedSigners
java.lang.Object
com.amazonaws.services.cloudfront.model.ActiveTrustedSigners
- All Implemented Interfaces:
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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ActiveTrustedSigners object.ActiveTrustedSigners
(List<Signer> items) Constructs a new ActiveTrustedSigners object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Each active trusted 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.The number of unique trusted signers included in all cache behaviors.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withEnabled
(Boolean enabled) Each active trusted signer.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
(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.withQuantity
(Integer quantity) The number of unique trusted signers included in all cache behaviors.
-
Constructor Details
-
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
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 Details
-
setEnabled
Each active trusted signer.- Parameters:
enabled
- Each active trusted signer.
-
getEnabled
Each active trusted signer.- Returns:
- Each active trusted signer.
-
withEnabled
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
Each active trusted signer.- Returns:
- Each active trusted signer.
-
setQuantity
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-