@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProfileObjectTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProfileObjectTypesResult() |
Modifier and Type | Method and Description |
---|---|
ListProfileObjectTypesResult |
clone() |
boolean |
equals(Object obj) |
List<ListProfileObjectTypeItem> |
getItems()
The list of ListProfileObjectTypes instances.
|
String |
getNextToken()
Identifies the next page of results to return.
|
int |
hashCode() |
void |
setItems(Collection<ListProfileObjectTypeItem> items)
The list of ListProfileObjectTypes instances.
|
void |
setNextToken(String nextToken)
Identifies the next page of results to return.
|
String |
toString()
Returns a string representation of this object.
|
ListProfileObjectTypesResult |
withItems(Collection<ListProfileObjectTypeItem> items)
The list of ListProfileObjectTypes instances.
|
ListProfileObjectTypesResult |
withItems(ListProfileObjectTypeItem... items)
The list of ListProfileObjectTypes instances.
|
ListProfileObjectTypesResult |
withNextToken(String nextToken)
Identifies the next page of results to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListProfileObjectTypeItem> getItems()
The list of ListProfileObjectTypes instances.
public void setItems(Collection<ListProfileObjectTypeItem> items)
The list of ListProfileObjectTypes instances.
items
- The list of ListProfileObjectTypes instances.public ListProfileObjectTypesResult withItems(ListProfileObjectTypeItem... items)
The list of ListProfileObjectTypes instances.
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 list of ListProfileObjectTypes instances.public ListProfileObjectTypesResult withItems(Collection<ListProfileObjectTypeItem> items)
The list of ListProfileObjectTypes instances.
items
- The list of ListProfileObjectTypes instances.public void setNextToken(String nextToken)
Identifies the next page of results to return.
nextToken
- Identifies the next page of results to return.public String getNextToken()
Identifies the next page of results to return.
public ListProfileObjectTypesResult withNextToken(String nextToken)
Identifies the next page of results to return.
nextToken
- Identifies the next page of results to return.public String toString()
toString
in class Object
Object.toString()
public ListProfileObjectTypesResult clone()