Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class ActiveTrustedSigners

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.ActiveTrustedSigners
All Implemented Interfaces:
Serializable

public class ActiveTrustedSigners
extends Object
implements 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.

See Also:
Serialized Form

Constructor Summary
ActiveTrustedSigners()
          Default constructor for a new ActiveTrustedSigners object.
ActiveTrustedSigners(List<Signer> items)
          Constructs a new ActiveTrustedSigners object.
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getEnabled()
          Each active trusted signer.
 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.
 Integer getQuantity()
          The number of unique trusted signers included in all cache behaviors.
 int hashCode()
           
 Boolean isEnabled()
          Each active trusted signer.
 void setEnabled(Boolean enabled)
          Each active trusted signer.
 void setItems(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(Integer quantity)
          The number of unique trusted signers included in all cache behaviors.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActiveTrustedSigners withEnabled(Boolean enabled)
          Each active trusted signer.
 ActiveTrustedSigners withItems(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(Integer quantity)
          The number of unique trusted signers included in all cache behaviors.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveTrustedSigners

public ActiveTrustedSigners()
Default constructor for a new ActiveTrustedSigners object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ActiveTrustedSigners

public ActiveTrustedSigners(List<Signer> items)
Constructs a new ActiveTrustedSigners object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
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.
Method Detail

isEnabled

public Boolean isEnabled()
Each active trusted signer.

Returns:
Each active trusted signer.

setEnabled

public void setEnabled(Boolean enabled)
Each active trusted signer.

Parameters:
enabled - Each active trusted signer.

withEnabled

public ActiveTrustedSigners withEnabled(Boolean enabled)
Each active trusted signer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
enabled - Each active trusted signer.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnabled

public Boolean getEnabled()
Each active trusted signer.

Returns:
Each active trusted signer.

getQuantity

public Integer getQuantity()
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.

Returns:
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.

setQuantity

public void setQuantity(Integer 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.

Parameters:
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.

withQuantity

public ActiveTrustedSigners withQuantity(Integer 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getItems

public 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.

Returns:
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.

setItems

public void setItems(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.

Parameters:
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.

withItems

public 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

withItems

public ActiveTrustedSigners withItems(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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.