public class ActiveTrustedSigners
extends java.lang.Object
implements java.io.Serializable
A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for the default cache behavior or for any of the other cache behaviors for this distribution. These are accounts that you want to allow to create signed URLs for private content.
| コンストラクタと説明 |
|---|
ActiveTrustedSigners()
Default constructor for a new ActiveTrustedSigners object.
|
ActiveTrustedSigners(java.util.List<Signer> items)
Constructs a new ActiveTrustedSigners object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
Each active trusted signer.
|
java.util.List<Signer> |
getItems()
A complex type that contains one Signer complex type for each unique
trusted signer that is specified in the TrustedSigners complex type,
including trusted signers in the default cache behavior and in all of
the other cache behaviors.
|
java.lang.Integer |
getQuantity()
The number of unique trusted signers included in all cache behaviors.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Each active trusted signer.
|
void |
setEnabled(java.lang.Boolean enabled)
Each active trusted signer.
|
void |
setItems(java.util.Collection<Signer> items)
A complex type that contains one Signer complex type for each unique
trusted signer that is specified in the TrustedSigners complex type,
including trusted signers in the default cache behavior and in all of
the other cache behaviors.
|
void |
setQuantity(java.lang.Integer quantity)
The number of unique trusted signers included in all cache behaviors.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActiveTrustedSigners |
withEnabled(java.lang.Boolean enabled)
Each active trusted signer.
|
ActiveTrustedSigners |
withItems(java.util.Collection<Signer> items)
A complex type that contains one Signer complex type for each unique
trusted signer that is specified in the TrustedSigners complex type,
including trusted signers in the default cache behavior and in all of
the other cache behaviors.
|
ActiveTrustedSigners |
withItems(Signer... items)
A complex type that contains one Signer complex type for each unique
trusted signer that is specified in the TrustedSigners complex type,
including trusted signers in the default cache behavior and in all of
the other cache behaviors.
|
ActiveTrustedSigners |
withQuantity(java.lang.Integer quantity)
The number of unique trusted signers included in all cache behaviors.
|
public ActiveTrustedSigners()
public ActiveTrustedSigners(java.util.List<Signer> items)
items - A complex type that contains one Signer complex type for
each unique trusted signer that is specified in the TrustedSigners
complex type, including trusted signers in the default cache behavior
and in all of the other cache behaviors.public java.lang.Boolean isEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled - Each active trusted signer.public ActiveTrustedSigners withEnabled(java.lang.Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled - Each active trusted signer.public java.lang.Boolean getEnabled()
public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity - The number of unique trusted signers included in all cache behaviors.
For example, if three cache behaviors all list the same three AWS
accounts, the value of Quantity for ActiveTrustedSigners will be 3.public ActiveTrustedSigners withQuantity(java.lang.Integer quantity)
Returns a reference to this object so that method calls can be chained together.
quantity - The number of unique trusted signers included in all cache behaviors.
For example, if three cache behaviors all list the same three AWS
accounts, the value of Quantity for ActiveTrustedSigners will be 3.public java.util.List<Signer> getItems()
public void setItems(java.util.Collection<Signer> items)
items - A complex type that contains one Signer complex type for each unique
trusted signer that is specified in the TrustedSigners complex type,
including trusted signers in the default cache behavior and in all of
the other cache behaviors.public ActiveTrustedSigners withItems(Signer... items)
Returns a reference to this object so that method calls can be chained together.
items - A complex type that contains one Signer complex type for each unique
trusted signer that is specified in the TrustedSigners complex type,
including trusted signers in the default cache behavior and in all of
the other cache behaviors.public ActiveTrustedSigners withItems(java.util.Collection<Signer> items)
Returns a reference to this object so that method calls can be chained together.
items - A complex type that contains one Signer complex type for each unique
trusted signer that is specified in the TrustedSigners complex type,
including trusted signers in the default cache behavior and in all of
the other cache behaviors.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object