@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyPairIds extends Object implements Serializable, Cloneable
A list of CloudFront key pair identifiers.
Constructor and Description |
---|
KeyPairIds() |
Modifier and Type | Method and Description |
---|---|
KeyPairIds |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems()
A list of CloudFront key pair identifiers.
|
Integer |
getQuantity()
The number of key pair identifiers in the list.
|
int |
hashCode() |
void |
setItems(Collection<String> items)
A list of CloudFront key pair identifiers.
|
void |
setQuantity(Integer quantity)
The number of key pair identifiers in the list.
|
String |
toString()
Returns a string representation of this object.
|
KeyPairIds |
withItems(Collection<String> items)
A list of CloudFront key pair identifiers.
|
KeyPairIds |
withItems(String... items)
A list of CloudFront key pair identifiers.
|
KeyPairIds |
withQuantity(Integer quantity)
The number of key pair identifiers in the list.
|
public void setQuantity(Integer quantity)
The number of key pair identifiers in the list.
quantity
- The number of key pair identifiers in the list.public Integer getQuantity()
The number of key pair identifiers in the list.
public KeyPairIds withQuantity(Integer quantity)
The number of key pair identifiers in the list.
quantity
- The number of key pair identifiers in the list.public List<String> getItems()
A list of CloudFront key pair identifiers.
public void setItems(Collection<String> items)
A list of CloudFront key pair identifiers.
items
- A list of CloudFront key pair identifiers.public KeyPairIds withItems(String... items)
A list of CloudFront key pair identifiers.
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 list of CloudFront key pair identifiers.public KeyPairIds withItems(Collection<String> items)
A list of CloudFront key pair identifiers.
items
- A list of CloudFront key pair identifiers.public String toString()
toString
in class Object
Object.toString()
public KeyPairIds clone()