@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetModelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a collection of Model resources.
| Constructor and Description |
|---|
GetModelsResult() |
| Modifier and Type | Method and Description |
|---|---|
GetModelsResult |
clone() |
boolean |
equals(Object obj) |
List<Model> |
getItems()
The current page of elements from this collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<Model> items)
The current page of elements from this collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetModelsResult |
withItems(Collection<Model> items)
The current page of elements from this collection.
|
GetModelsResult |
withItems(Model... items)
The current page of elements from this collection.
|
GetModelsResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPosition(String position)
position - public String getPosition()
public GetModelsResult withPosition(String position)
position - public List<Model> getItems()
The current page of elements from this collection.
public void setItems(Collection<Model> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public GetModelsResult withItems(Model... 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 GetModelsResult withItems(Collection<Model> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public String toString()
toString in class ObjectObject.toString()public GetModelsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.