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