public class GetUsagePlanKeysResult extends Object implements Serializable, Cloneable
Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.
Constructor and Description |
---|
GetUsagePlanKeysResult() |
Modifier and Type | Method and Description |
---|---|
GetUsagePlanKeysResult |
clone() |
boolean |
equals(Object obj) |
List<UsagePlanKey> |
getItems()
Gets the current item of the usage plan keys collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<UsagePlanKey> items)
Gets the current item of the usage plan keys collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetUsagePlanKeysResult |
withItems(Collection<UsagePlanKey> items)
Gets the current item of the usage plan keys collection.
|
GetUsagePlanKeysResult |
withItems(UsagePlanKey... items)
Gets the current item of the usage plan keys collection.
|
GetUsagePlanKeysResult |
withPosition(String position) |
public void setPosition(String position)
position
- public String getPosition()
public GetUsagePlanKeysResult withPosition(String position)
position
- public List<UsagePlanKey> getItems()
Gets the current item of the usage plan keys collection.
public void setItems(Collection<UsagePlanKey> items)
Gets the current item of the usage plan keys collection.
items
- Gets the current item of the usage plan keys collection.public GetUsagePlanKeysResult withItems(UsagePlanKey... items)
Gets the current item of the usage plan keys collection.
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
- Gets the current item of the usage plan keys collection.public GetUsagePlanKeysResult withItems(Collection<UsagePlanKey> items)
Gets the current item of the usage plan keys collection.
items
- Gets the current item of the usage plan keys collection.public String toString()
toString
in class Object
Object.toString()
public GetUsagePlanKeysResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.