@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrustedSigners extends Object implements Serializable, Cloneable
A list of accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.
Constructor and Description |
---|
TrustedSigners()
Default constructor for TrustedSigners object.
|
TrustedSigners(List<String> items)
Constructs a new TrustedSigners object.
|
Modifier and Type | Method and Description |
---|---|
TrustedSigners |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
This field is
true if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. |
List<String> |
getItems()
A list of account identifiers.
|
Integer |
getQuantity()
The number of accounts in the list.
|
int |
hashCode() |
Boolean |
isEnabled()
This field is
true if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. |
void |
setEnabled(Boolean enabled)
This field is
true if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. |
void |
setItems(Collection<String> items)
A list of account identifiers.
|
void |
setQuantity(Integer quantity)
The number of accounts in the list.
|
String |
toString()
Returns a string representation of this object.
|
TrustedSigners |
withEnabled(Boolean enabled)
This field is
true if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. |
TrustedSigners |
withItems(Collection<String> items)
A list of account identifiers.
|
TrustedSigners |
withItems(String... items)
A list of account identifiers.
|
TrustedSigners |
withQuantity(Integer quantity)
The number of accounts in the list.
|
public TrustedSigners()
public void setEnabled(Boolean enabled)
This field is true
if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. If not, this field is false
.
enabled
- This field is true
if any of the accounts have public keys that CloudFront can use to verify
the signatures of signed URLs and signed cookies. If not, this field is false
.public Boolean getEnabled()
This field is true
if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. If not, this field is false
.
true
if any of the accounts have public keys that CloudFront can use to verify
the signatures of signed URLs and signed cookies. If not, this field is false
.public TrustedSigners withEnabled(Boolean enabled)
This field is true
if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. If not, this field is false
.
enabled
- This field is true
if any of the accounts have public keys that CloudFront can use to verify
the signatures of signed URLs and signed cookies. If not, this field is false
.public Boolean isEnabled()
This field is true
if any of the accounts have public keys that CloudFront can use to verify the
signatures of signed URLs and signed cookies. If not, this field is false
.
true
if any of the accounts have public keys that CloudFront can use to verify
the signatures of signed URLs and signed cookies. If not, this field is false
.public void setQuantity(Integer quantity)
The number of accounts in the list.
quantity
- The number of accounts in the list.public Integer getQuantity()
The number of accounts in the list.
public TrustedSigners withQuantity(Integer quantity)
The number of accounts in the list.
quantity
- The number of accounts in the list.public List<String> getItems()
A list of account identifiers.
public void setItems(Collection<String> items)
A list of account identifiers.
items
- A list of account identifiers.public TrustedSigners withItems(String... items)
A list of account identifiers.
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 list of account identifiers.public TrustedSigners withItems(Collection<String> items)
A list of account identifiers.
items
- A list of account identifiers.public String toString()
toString
in class Object
Object.toString()
public TrustedSigners clone()