@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
EnableResult() |
Modifier and Type | Method and Description |
---|---|
EnableResult |
clone() |
boolean |
equals(Object obj) |
List<Account> |
getAccounts()
Information on the accounts that have had Amazon Inspector scans successfully enabled.
|
List<FailedAccount> |
getFailedAccounts()
Information on any accounts for which Amazon Inspector scans could not be enabled.
|
int |
hashCode() |
void |
setAccounts(Collection<Account> accounts)
Information on the accounts that have had Amazon Inspector scans successfully enabled.
|
void |
setFailedAccounts(Collection<FailedAccount> failedAccounts)
Information on any accounts for which Amazon Inspector scans could not be enabled.
|
String |
toString()
Returns a string representation of this object.
|
EnableResult |
withAccounts(Account... accounts)
Information on the accounts that have had Amazon Inspector scans successfully enabled.
|
EnableResult |
withAccounts(Collection<Account> accounts)
Information on the accounts that have had Amazon Inspector scans successfully enabled.
|
EnableResult |
withFailedAccounts(Collection<FailedAccount> failedAccounts)
Information on any accounts for which Amazon Inspector scans could not be enabled.
|
EnableResult |
withFailedAccounts(FailedAccount... failedAccounts)
Information on any accounts for which Amazon Inspector scans could not be enabled.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Account> getAccounts()
Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are provided for each account.
public void setAccounts(Collection<Account> accounts)
Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are provided for each account.
accounts
- Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are
provided for each account.public EnableResult withAccounts(Account... accounts)
Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are provided for each account.
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
- Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are
provided for each account.public EnableResult withAccounts(Collection<Account> accounts)
Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are provided for each account.
accounts
- Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are
provided for each account.public List<FailedAccount> getFailedAccounts()
Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided for each account.
public void setFailedAccounts(Collection<FailedAccount> failedAccounts)
Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided for each account.
failedAccounts
- Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided
for each account.public EnableResult withFailedAccounts(FailedAccount... failedAccounts)
Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided for each account.
NOTE: This method appends the values to the existing list (if any). Use
setFailedAccounts(java.util.Collection)
or withFailedAccounts(java.util.Collection)
if you want
to override the existing values.
failedAccounts
- Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided
for each account.public EnableResult withFailedAccounts(Collection<FailedAccount> failedAccounts)
Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided for each account.
failedAccounts
- Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided
for each account.public String toString()
toString
in class Object
Object.toString()
public EnableResult clone()