@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStagingAccountsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListStagingAccountsResult() |
Modifier and Type | Method and Description |
---|---|
ListStagingAccountsResult |
clone() |
boolean |
equals(Object obj) |
List<Account> |
getAccounts()
An array of staging AWS Accounts.
|
String |
getNextToken()
The token of the next staging Account to retrieve.
|
int |
hashCode() |
void |
setAccounts(Collection<Account> accounts)
An array of staging AWS Accounts.
|
void |
setNextToken(String nextToken)
The token of the next staging Account to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListStagingAccountsResult |
withAccounts(Account... accounts)
An array of staging AWS Accounts.
|
ListStagingAccountsResult |
withAccounts(Collection<Account> accounts)
An array of staging AWS Accounts.
|
ListStagingAccountsResult |
withNextToken(String nextToken)
The token of the next staging Account to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Account> getAccounts()
An array of staging AWS Accounts.
public void setAccounts(Collection<Account> accounts)
An array of staging AWS Accounts.
accounts
- An array of staging AWS Accounts.public ListStagingAccountsResult withAccounts(Account... accounts)
An array of staging AWS Accounts.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection)
or withAccounts(java.util.Collection)
if you want to override
the existing values.
accounts
- An array of staging AWS Accounts.public ListStagingAccountsResult withAccounts(Collection<Account> accounts)
An array of staging AWS Accounts.
accounts
- An array of staging AWS Accounts.public void setNextToken(String nextToken)
The token of the next staging Account to retrieve.
nextToken
- The token of the next staging Account to retrieve.public String getNextToken()
The token of the next staging Account to retrieve.
public ListStagingAccountsResult withNextToken(String nextToken)
The token of the next staging Account to retrieve.
nextToken
- The token of the next staging Account to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListStagingAccountsResult clone()