@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsagePlansResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a collection of usage plans for an AWS account.
Constructor and Description |
---|
GetUsagePlansResult() |
Modifier and Type | Method and Description |
---|---|
GetUsagePlansResult |
clone() |
boolean |
equals(Object obj) |
List<UsagePlan> |
getItems()
The current page of elements from this collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<UsagePlan> items)
The current page of elements from this collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object.
|
GetUsagePlansResult |
withItems(Collection<UsagePlan> items)
The current page of elements from this collection.
|
GetUsagePlansResult |
withItems(UsagePlan... items)
The current page of elements from this collection.
|
GetUsagePlansResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetUsagePlansResult withPosition(String position)
position
- public List<UsagePlan> getItems()
The current page of elements from this collection.
public void setItems(Collection<UsagePlan> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public GetUsagePlansResult withItems(UsagePlan... 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 GetUsagePlansResult withItems(Collection<UsagePlan> 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 GetUsagePlansResult clone()