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