Class KeyPairIds

java.lang.Object
com.amazonaws.services.cloudfront.model.KeyPairIds
All Implemented Interfaces:
Serializable, Cloneable

public class KeyPairIds extends Object implements Serializable, Cloneable
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
See Also:
  • Constructor Details

    • KeyPairIds

      public KeyPairIds()
  • Method Details

    • setQuantity

      public void setQuantity(Integer quantity)
      The number of active CloudFront key pairs for AwsAccountNumber.
      Parameters:
      quantity - The number of active CloudFront key pairs for AwsAccountNumber.
    • getQuantity

      public Integer getQuantity()
      The number of active CloudFront key pairs for AwsAccountNumber.
      Returns:
      The number of active CloudFront key pairs for AwsAccountNumber.
    • withQuantity

      public KeyPairIds withQuantity(Integer quantity)
      The number of active CloudFront key pairs for AwsAccountNumber.
      Parameters:
      quantity - The number of active CloudFront key pairs for AwsAccountNumber.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getItems

      public List<String> getItems()
      A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
      Returns:
      A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
    • setItems

      public void setItems(Collection<String> items)
      A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
      Parameters:
      items - A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
    • withItems

      public KeyPairIds withItems(String... items)
      A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

      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.

      Parameters:
      items - A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withItems

      public KeyPairIds withItems(Collection<String> items)
      A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
      Parameters:
      items - A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public KeyPairIds clone()
      Overrides:
      clone in class Object