@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 RTMP 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()
A complex type that contains one
Signer complex type for each trusted signer 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 RTMP 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 RTMP 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)
A complex type that contains one
Signer complex type for each trusted signer specified in the
TrustedSigners complex type. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ActiveTrustedSigners |
withEnabled(Boolean enabled)
Enabled is
true if any of the AWS accounts listed in the TrustedSigners complex type
for this RTMP 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)
A complex type that contains one
Signer complex type for each trusted signer 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.
For more information, see ActiveTrustedSigners.
public void setEnabled(Boolean enabled)
Enabled is true
if any of the AWS accounts listed in the TrustedSigners
complex type
for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is false
.
For more information, see ActiveTrustedSigners.
enabled
- Enabled is true
if any of the AWS accounts listed in the TrustedSigners
complex
type for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is
false
.
For more information, see ActiveTrustedSigners.
public Boolean getEnabled()
Enabled is true
if any of the AWS accounts listed in the TrustedSigners
complex type
for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is false
.
For more information, see ActiveTrustedSigners.
true
if any of the AWS accounts listed in the TrustedSigners
complex
type for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is
false
.
For more information, see ActiveTrustedSigners.
public ActiveTrustedSigners withEnabled(Boolean enabled)
Enabled is true
if any of the AWS accounts listed in the TrustedSigners
complex type
for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is false
.
For more information, see ActiveTrustedSigners.
enabled
- Enabled is true
if any of the AWS accounts listed in the TrustedSigners
complex
type for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is
false
.
For more information, see ActiveTrustedSigners.
public Boolean isEnabled()
Enabled is true
if any of the AWS accounts listed in the TrustedSigners
complex type
for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is false
.
For more information, see ActiveTrustedSigners.
true
if any of the AWS accounts listed in the TrustedSigners
complex
type for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is
false
.
For more information, see ActiveTrustedSigners.
public void setQuantity(Integer quantity)
A complex type that contains one Signer
complex type for each trusted signer specified in the
TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
quantity
- A complex type that contains one Signer
complex type for each trusted signer specified in the
TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
public Integer getQuantity()
A complex type that contains one Signer
complex type for each trusted signer specified in the
TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
Signer
complex type for each trusted signer specified in
the TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
public ActiveTrustedSigners withQuantity(Integer quantity)
A complex type that contains one Signer
complex type for each trusted signer specified in the
TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
quantity
- A complex type that contains one Signer
complex type for each trusted signer specified in the
TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
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.
For more information, see ActiveTrustedSigners.
Signer
complex type for each trusted signer that is
specified in the TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
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.
For more information, see ActiveTrustedSigners.
items
- A complex type that contains one Signer
complex type for each trusted signer that is
specified in the TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
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.
For more information, see ActiveTrustedSigners.
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.
For more information, see ActiveTrustedSigners.
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.
For more information, see ActiveTrustedSigners.
items
- A complex type that contains one Signer
complex type for each trusted signer that is
specified in the TrustedSigners
complex type.
For more information, see ActiveTrustedSigners.
public String toString()
toString
in class Object
Object.toString()
public ActiveTrustedSigners clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.