public class TrustedSigners
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
enabled
Specifies whether you want to require end users to use signed URLs to
access the files specified by PathPattern and TargetOriginId.
|
private SdkInternalList<java.lang.String> |
items
Optional: A complex type that contains trusted signers for this cache
behavior.
|
private java.lang.Integer |
quantity
The number of trusted signers for this cache behavior.
|
Constructor and Description |
---|
TrustedSigners()
Default constructor for TrustedSigners object.
|
TrustedSigners(java.util.List<java.lang.String> items)
Constructs a new TrustedSigners object.
|
Modifier and Type | Method and Description |
---|---|
TrustedSigners |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
Specifies whether you want to require end users to use signed URLs to
access the files specified by PathPattern and TargetOriginId.
|
java.util.List<java.lang.String> |
getItems()
Optional: A complex type that contains trusted signers for this cache
behavior.
|
java.lang.Integer |
getQuantity()
The number of trusted signers for this cache behavior.
|
int |
hashCode() |
java.lang.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(java.lang.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(java.util.Collection<java.lang.String> items)
Optional: A complex type that contains trusted signers for this cache
behavior.
|
void |
setQuantity(java.lang.Integer quantity)
The number of trusted signers for this cache behavior.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedSigners |
withEnabled(java.lang.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(java.util.Collection<java.lang.String> items)
Optional: A complex type that contains trusted signers for this cache
behavior.
|
TrustedSigners |
withItems(java.lang.String... items)
Optional: A complex type that contains trusted signers for this cache
behavior.
|
TrustedSigners |
withQuantity(java.lang.Integer quantity)
The number of trusted signers for this cache behavior.
|
private java.lang.Boolean enabled
private java.lang.Integer quantity
private SdkInternalList<java.lang.String> items
public TrustedSigners()
public TrustedSigners(java.util.List<java.lang.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(java.lang.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 java.lang.Boolean getEnabled()
public TrustedSigners withEnabled(java.lang.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 java.lang.Boolean isEnabled()
public void setQuantity(java.lang.Integer quantity)
quantity
- The number of trusted signers for this cache behavior.public java.lang.Integer getQuantity()
public TrustedSigners withQuantity(java.lang.Integer quantity)
quantity
- The number of trusted signers for this cache behavior.public java.util.List<java.lang.String> getItems()
public void setItems(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.String> items)
items
- Optional: A complex type that contains trusted signers for this
cache behavior. If Quantity is 0, you can omit Items.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TrustedSigners clone()
clone
in class java.lang.Object