Class GetApiKeysResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GetApiKeysResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetApiKeysResult extends Object implements Serializable, Cloneable
Represents a collection of ApiKey resources.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetApiKeysResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetApiKeysResult
clone()
boolean
equals(Object obj)
List<ApiKey>
getItems()
String
getPosition()
int
hashCode()
void
setItems(Collection<ApiKey> items)
void
setPosition(String position)
String
toString()
Returns a string representation of this object; useful for testing and debugging.GetApiKeysResult
withItems(ApiKey... items)
GetApiKeysResult
withItems(Collection<ApiKey> items)
GetApiKeysResult
withPosition(String position)
-
-
-
Method Detail
-
setPosition
public void setPosition(String position)
- Parameters:
position
-
-
getPosition
public String getPosition()
- Returns:
-
withPosition
public GetApiKeysResult withPosition(String position)
- Parameters:
position
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setItems
public void setItems(Collection<ApiKey> items)
-
withItems
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)
orwithItems(java.util.Collection)
if you want to override the existing values.
-
withItems
public GetApiKeysResult withItems(Collection<ApiKey> items)
-
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 GetApiKeysResult clone()
-
-