@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 this distribution. These are the accounts that you want to allow to create signed URLs for private content.
The Signer complex type lists the AWS account number of the trusted signer or self if the
signer is the AWS account that created the distribution. The Signer element also includes the IDs of any
active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId
element appears for a Signer, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
| Constructor and Description |
|---|
ActiveTrustedSigners()
Default constructor for ActiveTrustedSigners object.
|
ActiveTrustedSigners(List<Signer> items)
Constructs a new ActiveTrustedSigners object.
|
| Modifier and Type | Method and Description |
|---|---|
ActiveTrustedSigners |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Enabled is
true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. |
List<Signer> |
getItems()
A complex type that contains one
Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type. |
Integer |
getQuantity()
The number of trusted signers specified in the
TrustedSigners complex type. |
int |
hashCode() |
Boolean |
isEnabled()
Enabled is
true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. |
void |
setEnabled(Boolean enabled)
Enabled is
true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. |
void |
setItems(Collection<Signer> items)
A complex type that contains one
Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type. |
void |
setQuantity(Integer quantity)
The number of trusted signers specified in the
TrustedSigners complex type. |
String |
toString()
Returns a string representation of this object.
|
ActiveTrustedSigners |
withEnabled(Boolean enabled)
Enabled is
true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. |
ActiveTrustedSigners |
withItems(Collection<Signer> items)
A complex type that contains one
Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type. |
ActiveTrustedSigners |
withItems(Signer... items)
A complex type that contains one
Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type. |
ActiveTrustedSigners |
withQuantity(Integer quantity)
The number of trusted signers specified in the
TrustedSigners complex type. |
public ActiveTrustedSigners()
public ActiveTrustedSigners(List<Signer> items)
items - A complex type that contains one Signer complex type for each trusted signer that is
specified in the TrustedSigners complex type.public void setEnabled(Boolean enabled)
Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. If not, Enabled is false.
enabled - Enabled is true if any of the AWS accounts listed in the TrustedSigners complex
type for this distribution have active CloudFront key pairs. If not, Enabled is
false.public Boolean getEnabled()
Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. If not, Enabled is false.
true if any of the AWS accounts listed in the TrustedSigners complex
type for this distribution have active CloudFront key pairs. If not, Enabled is
false.public ActiveTrustedSigners withEnabled(Boolean enabled)
Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. If not, Enabled is false.
enabled - Enabled is true if any of the AWS accounts listed in the TrustedSigners complex
type for this distribution have active CloudFront key pairs. If not, Enabled is
false.public Boolean isEnabled()
Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type
for this distribution have active CloudFront key pairs. If not, Enabled is false.
true if any of the AWS accounts listed in the TrustedSigners complex
type for this distribution have active CloudFront key pairs. If not, Enabled is
false.public void setQuantity(Integer quantity)
The number of trusted signers specified in the TrustedSigners complex type.
quantity - The number of trusted signers specified in the TrustedSigners complex type.public Integer getQuantity()
The number of trusted signers specified in the TrustedSigners complex type.
TrustedSigners complex type.public ActiveTrustedSigners withQuantity(Integer quantity)
The number of trusted signers specified in the TrustedSigners complex type.
quantity - The number of trusted signers specified in the TrustedSigners complex type.public List<Signer> getItems()
A complex type that contains one Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type.
Signer complex type for each trusted signer that is
specified in the TrustedSigners complex type.public void setItems(Collection<Signer> items)
A complex type that contains one Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type.
items - A complex type that contains one Signer complex type for each trusted signer that is
specified in the TrustedSigners complex type.public ActiveTrustedSigners withItems(Signer... items)
A complex type that contains one Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type.
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.
items - A complex type that contains one Signer complex type for each trusted signer that is
specified in the TrustedSigners complex type.public ActiveTrustedSigners withItems(Collection<Signer> items)
A complex type that contains one Signer complex type for each trusted signer that is specified in
the TrustedSigners complex type.
items - A complex type that contains one Signer complex type for each trusted signer that is
specified in the TrustedSigners complex type.public String toString()
toString in class ObjectObject.toString()public ActiveTrustedSigners clone()
Copyright © 2019. All rights reserved.