@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicKeyList extends Object implements Serializable, Cloneable
A list of public keys that you can use with signed URLs and signed cookies, or with field-level encryption.
Constructor and Description |
---|
PublicKeyList() |
Modifier and Type | Method and Description |
---|---|
PublicKeyList |
clone() |
boolean |
equals(Object obj) |
List<PublicKeySummary> |
getItems()
A list of public keys.
|
Integer |
getMaxItems()
The maximum number of public keys you want in the response.
|
String |
getNextMarker()
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker request parameter to continue listing your public keys where you left off. |
Integer |
getQuantity()
The number of public keys in the list.
|
int |
hashCode() |
void |
setItems(Collection<PublicKeySummary> items)
A list of public keys.
|
void |
setMaxItems(Integer maxItems)
The maximum number of public keys you want in the response.
|
void |
setNextMarker(String nextMarker)
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker request parameter to continue listing your public keys where you left off. |
void |
setQuantity(Integer quantity)
The number of public keys in the list.
|
String |
toString()
Returns a string representation of this object.
|
PublicKeyList |
withItems(Collection<PublicKeySummary> items)
A list of public keys.
|
PublicKeyList |
withItems(PublicKeySummary... items)
A list of public keys.
|
PublicKeyList |
withMaxItems(Integer maxItems)
The maximum number of public keys you want in the response.
|
PublicKeyList |
withNextMarker(String nextMarker)
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker request parameter to continue listing your public keys where you left off. |
PublicKeyList |
withQuantity(Integer quantity)
The number of public keys in the list.
|
public void setNextMarker(String nextMarker)
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker
request parameter to continue listing your public keys where you left off.
nextMarker
- If there are more elements to be listed, this element is present and contains the value that you can use
for the Marker
request parameter to continue listing your public keys where you left off.public String getNextMarker()
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker
request parameter to continue listing your public keys where you left off.
Marker
request parameter to continue listing your public keys where you left off.public PublicKeyList withNextMarker(String nextMarker)
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker
request parameter to continue listing your public keys where you left off.
nextMarker
- If there are more elements to be listed, this element is present and contains the value that you can use
for the Marker
request parameter to continue listing your public keys where you left off.public void setMaxItems(Integer maxItems)
The maximum number of public keys you want in the response.
maxItems
- The maximum number of public keys you want in the response.public Integer getMaxItems()
The maximum number of public keys you want in the response.
public PublicKeyList withMaxItems(Integer maxItems)
The maximum number of public keys you want in the response.
maxItems
- The maximum number of public keys you want in the response.public void setQuantity(Integer quantity)
The number of public keys in the list.
quantity
- The number of public keys in the list.public Integer getQuantity()
The number of public keys in the list.
public PublicKeyList withQuantity(Integer quantity)
The number of public keys in the list.
quantity
- The number of public keys in the list.public List<PublicKeySummary> getItems()
A list of public keys.
public void setItems(Collection<PublicKeySummary> items)
A list of public keys.
items
- A list of public keys.public PublicKeyList withItems(PublicKeySummary... items)
A list of public keys.
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 public keys.public PublicKeyList withItems(Collection<PublicKeySummary> items)
A list of public keys.
items
- A list of public keys.public String toString()
toString
in class Object
Object.toString()
public PublicKeyList clone()