@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyGroupList extends Object implements Serializable, Cloneable
A list of key groups.
Constructor and Description |
---|
KeyGroupList() |
Modifier and Type | Method and Description |
---|---|
KeyGroupList |
clone() |
boolean |
equals(Object obj) |
List<KeyGroupSummary> |
getItems()
A list of key groups.
|
Integer |
getMaxItems()
The maximum number of key groups requested.
|
String |
getNextMarker()
If there are more items in the list than are in this response, this element is present.
|
Integer |
getQuantity()
The number of key groups returned in the response.
|
int |
hashCode() |
void |
setItems(Collection<KeyGroupSummary> items)
A list of key groups.
|
void |
setMaxItems(Integer maxItems)
The maximum number of key groups requested.
|
void |
setNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.
|
void |
setQuantity(Integer quantity)
The number of key groups returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
KeyGroupList |
withItems(Collection<KeyGroupSummary> items)
A list of key groups.
|
KeyGroupList |
withItems(KeyGroupSummary... items)
A list of key groups.
|
KeyGroupList |
withMaxItems(Integer maxItems)
The maximum number of key groups requested.
|
KeyGroupList |
withNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.
|
KeyGroupList |
withQuantity(Integer quantity)
The number of key groups returned in the response.
|
public void setNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present. It contains the value
that you should use in the Marker
field of a subsequent request to continue listing key groups.
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains the
value that you should use in the Marker
field of a subsequent request to continue listing key
groups.public String getNextMarker()
If there are more items in the list than are in this response, this element is present. It contains the value
that you should use in the Marker
field of a subsequent request to continue listing key groups.
Marker
field of a subsequent request to continue listing
key groups.public KeyGroupList withNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present. It contains the value
that you should use in the Marker
field of a subsequent request to continue listing key groups.
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains the
value that you should use in the Marker
field of a subsequent request to continue listing key
groups.public void setMaxItems(Integer maxItems)
The maximum number of key groups requested.
maxItems
- The maximum number of key groups requested.public Integer getMaxItems()
The maximum number of key groups requested.
public KeyGroupList withMaxItems(Integer maxItems)
The maximum number of key groups requested.
maxItems
- The maximum number of key groups requested.public void setQuantity(Integer quantity)
The number of key groups returned in the response.
quantity
- The number of key groups returned in the response.public Integer getQuantity()
The number of key groups returned in the response.
public KeyGroupList withQuantity(Integer quantity)
The number of key groups returned in the response.
quantity
- The number of key groups returned in the response.public List<KeyGroupSummary> getItems()
A list of key groups.
public void setItems(Collection<KeyGroupSummary> items)
A list of key groups.
items
- A list of key groups.public KeyGroupList withItems(KeyGroupSummary... items)
A list of key groups.
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 key groups.public KeyGroupList withItems(Collection<KeyGroupSummary> items)
A list of key groups.
items
- A list of key groups.public String toString()
toString
in class Object
Object.toString()
public KeyGroupList clone()