@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMembersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateMembersRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateMembersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AccountDetails> |
getAccountDetails()
The list of accounts to associate with the Security Hub administrator account.
|
int |
hashCode() |
void |
setAccountDetails(Collection<AccountDetails> accountDetails)
The list of accounts to associate with the Security Hub administrator account.
|
String |
toString()
Returns a string representation of this object.
|
CreateMembersRequest |
withAccountDetails(AccountDetails... accountDetails)
The list of accounts to associate with the Security Hub administrator account.
|
CreateMembersRequest |
withAccountDetails(Collection<AccountDetails> accountDetails)
The list of accounts to associate with the Security Hub administrator account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<AccountDetails> getAccountDetails()
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
public void setAccountDetails(Collection<AccountDetails> accountDetails)
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
accountDetails - The list of accounts to associate with the Security Hub administrator account. For each account, the list
includes the account ID and optionally the email address.public CreateMembersRequest withAccountDetails(AccountDetails... accountDetails)
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
NOTE: This method appends the values to the existing list (if any). Use
setAccountDetails(java.util.Collection) or withAccountDetails(java.util.Collection) if you want
to override the existing values.
accountDetails - The list of accounts to associate with the Security Hub administrator account. For each account, the list
includes the account ID and optionally the email address.public CreateMembersRequest withAccountDetails(Collection<AccountDetails> accountDetails)
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
accountDetails - The list of accounts to associate with the Security Hub administrator account. For each account, the list
includes the account ID and optionally the email address.public String toString()
toString in class ObjectObject.toString()public CreateMembersRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()