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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyPairIds()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyPairIds
clone()
boolean
equals(Object obj)
List<String>
getItems()
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.Integer
getQuantity()
The number of active CloudFront key pairs for AwsAccountNumber.int
hashCode()
void
setItems(Collection<String> items)
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.void
setQuantity(Integer quantity)
The number of active CloudFront key pairs for AwsAccountNumber.String
toString()
Returns a string representation of this object; useful for testing and debugging.KeyPairIds
withItems(String... items)
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.KeyPairIds
withItems(Collection<String> items)
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.KeyPairIds
withQuantity(Integer quantity)
The number of active CloudFront key pairs for AwsAccountNumber.
-
-
-
Method Detail
-
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)
orwithItems(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public KeyPairIds clone()
-
-