@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAutomatedDiscoveryAccountsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAutomatedDiscoveryAccountsResult() |
Modifier and Type | Method and Description |
---|---|
ListAutomatedDiscoveryAccountsResult |
clone() |
boolean |
equals(Object obj) |
List<AutomatedDiscoveryAccount> |
getItems()
An array of objects, one for each account specified in the request.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setItems(Collection<AutomatedDiscoveryAccount> items)
An array of objects, one for each account specified in the request.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
ListAutomatedDiscoveryAccountsResult |
withItems(AutomatedDiscoveryAccount... items)
An array of objects, one for each account specified in the request.
|
ListAutomatedDiscoveryAccountsResult |
withItems(Collection<AutomatedDiscoveryAccount> items)
An array of objects, one for each account specified in the request.
|
ListAutomatedDiscoveryAccountsResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListAutomatedDiscoveryAccountsResult()
public List<AutomatedDiscoveryAccount> getItems()
An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.
public void setItems(Collection<AutomatedDiscoveryAccount> items)
An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.
items
- An array of objects, one for each account specified in the request. Each object specifies the Amazon Web
Services account ID for an account and the current status of automated sensitive data discovery for that
account.public ListAutomatedDiscoveryAccountsResult withItems(AutomatedDiscoveryAccount... items)
An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.
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
- An array of objects, one for each account specified in the request. Each object specifies the Amazon Web
Services account ID for an account and the current status of automated sensitive data discovery for that
account.public ListAutomatedDiscoveryAccountsResult withItems(Collection<AutomatedDiscoveryAccount> items)
An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.
items
- An array of objects, one for each account specified in the request. Each object specifies the Amazon Web
Services account ID for an account and the current status of automated sensitive data discovery for that
account.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ListAutomatedDiscoveryAccountsResult withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public ListAutomatedDiscoveryAccountsResult clone()