@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsagePlanKeysResult extends AmazonWebServiceResult<ResponseMetadata> 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()
The current page of elements from this collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<UsagePlanKey> items)
The current page of elements from this collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object.
|
GetUsagePlanKeysResult |
withItems(Collection<UsagePlanKey> items)
The current page of elements from this collection.
|
GetUsagePlanKeysResult |
withItems(UsagePlanKey... items)
The current page of elements from this collection.
|
GetUsagePlanKeysResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetUsagePlanKeysResult withPosition(String position)
position
- public List<UsagePlanKey> getItems()
The current page of elements from this collection.
public void setItems(Collection<UsagePlanKey> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public GetUsagePlanKeysResult withItems(UsagePlanKey... items)
The current page of elements from this 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
- The current page of elements from this collection.public GetUsagePlanKeysResult withItems(Collection<UsagePlanKey> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public String toString()
toString
in class Object
Object.toString()
public GetUsagePlanKeysResult clone()