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