public class GetApiKeysResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a collection of ApiKey resources.
Modifier and Type | Field and Description |
---|---|
private java.util.List<ApiKey> |
items
|
private java.lang.String |
position |
Constructor and Description |
---|
GetApiKeysResult() |
Modifier and Type | Method and Description |
---|---|
GetApiKeysResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ApiKey> |
getItems()
|
java.lang.String |
getPosition() |
int |
hashCode() |
void |
setItems(java.util.Collection<ApiKey> items)
|
void |
setPosition(java.lang.String position) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetApiKeysResult |
withItems(ApiKey... items)
|
GetApiKeysResult |
withItems(java.util.Collection<ApiKey> items)
|
GetApiKeysResult |
withPosition(java.lang.String position) |
private java.lang.String position
private java.util.List<ApiKey> items
public void setPosition(java.lang.String position)
position
- public java.lang.String getPosition()
public GetApiKeysResult withPosition(java.lang.String position)
position
- public java.util.List<ApiKey> getItems()
public void setItems(java.util.Collection<ApiKey> items)
public GetApiKeysResult withItems(ApiKey... items)
The current page of any ApiKey resources in the collection of ApiKey resources.
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.
public GetApiKeysResult withItems(java.util.Collection<ApiKey> items)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetApiKeysResult clone()
clone
in class java.lang.Object