public class ActiveTrustedSigners
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
enabled
Each active trusted signer.
|
private SdkInternalList<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.
|
private java.lang.Integer |
quantity
The number of unique trusted signers included in all cache behaviors.
|
Constructor and Description |
---|
ActiveTrustedSigners()
Default constructor for ActiveTrustedSigners object.
|
ActiveTrustedSigners(java.util.List<Signer> items)
Constructs a new ActiveTrustedSigners object.
|
Modifier and Type | Method and Description |
---|---|
ActiveTrustedSigners |
clone() |
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.
|
private java.lang.Boolean enabled
private java.lang.Integer quantity
private SdkInternalList<Signer> items
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 void setEnabled(java.lang.Boolean enabled)
enabled
- Each active trusted signer.public java.lang.Boolean getEnabled()
public ActiveTrustedSigners withEnabled(java.lang.Boolean enabled)
enabled
- Each active trusted signer.public java.lang.Boolean isEnabled()
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 java.lang.Integer getQuantity()
public ActiveTrustedSigners withQuantity(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 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)
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 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)
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
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 ActiveTrustedSigners clone()
clone
in class java.lang.Object