public class TrustedSigners extends Object implements Serializable, Cloneable
| 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()
Specifies whether you want to require end users to use signed URLs to
access the files specified by PathPattern and TargetOriginId.
|
List<String> |
getItems()
Optional: A complex type that contains trusted signers for this cache
behavior.
|
Integer |
getQuantity()
The number of trusted signers for this cache behavior.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether you want to require end users to use signed URLs to
access the files specified by PathPattern and TargetOriginId.
|
void |
setEnabled(Boolean enabled)
Specifies whether you want to require end users to use signed URLs to
access the files specified by PathPattern and TargetOriginId.
|
void |
setItems(Collection<String> items)
Optional: A complex type that contains trusted signers for this cache
behavior.
|
void |
setQuantity(Integer quantity)
The number of trusted signers for this cache behavior.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedSigners |
withEnabled(Boolean enabled)
Specifies whether you want to require end users to use signed URLs to
access the files specified by PathPattern and TargetOriginId.
|
TrustedSigners |
withItems(Collection<String> items)
Optional: A complex type that contains trusted signers for this cache
behavior.
|
TrustedSigners |
withItems(String... items)
Optional: A complex type that contains trusted signers for this cache
behavior.
|
TrustedSigners |
withQuantity(Integer quantity)
The number of trusted signers for this cache behavior.
|
public TrustedSigners()
public TrustedSigners(List<String> items)
items - Optional: A complex type that contains trusted signers for this
cache behavior. If Quantity is 0, you can omit Items.public void setEnabled(Boolean enabled)
enabled - Specifies whether you want to require end users to use signed URLs
to access the files specified by PathPattern and TargetOriginId.public Boolean getEnabled()
public TrustedSigners withEnabled(Boolean enabled)
enabled - Specifies whether you want to require end users to use signed URLs
to access the files specified by PathPattern and TargetOriginId.public Boolean isEnabled()
public void setQuantity(Integer quantity)
quantity - The number of trusted signers for this cache behavior.public Integer getQuantity()
public TrustedSigners withQuantity(Integer quantity)
quantity - The number of trusted signers for this cache behavior.public List<String> getItems()
public void setItems(Collection<String> items)
items - Optional: A complex type that contains trusted signers for this
cache behavior. If Quantity is 0, you can omit Items.public TrustedSigners withItems(String... items)
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 - Optional: A complex type that contains trusted signers for this
cache behavior. If Quantity is 0, you can omit Items.public TrustedSigners withItems(Collection<String> items)
items - Optional: A complex type that contains trusted signers for this
cache behavior. If Quantity is 0, you can omit Items.public String toString()
toString in class ObjectObject.toString()public TrustedSigners clone()
Copyright © 2016. All rights reserved.