@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeclineInvitationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeclineInvitationsRequest() |
Modifier and Type | Method and Description |
---|---|
DeclineInvitationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
|
String |
toString()
Returns a string representation of this object.
|
DeclineInvitationsRequest |
withAccountIds(Collection<String> accountIds)
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
|
DeclineInvitationsRequest |
withAccountIds(String... accountIds)
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
|
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, withSdkRequestTimeout
public List<String> getAccountIds()
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
public void setAccountIds(Collection<String> accountIds)
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
accountIds
- The list of account IDs for the accounts from which to decline the invitations to Security Hub.public DeclineInvitationsRequest withAccountIds(String... accountIds)
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The list of account IDs for the accounts from which to decline the invitations to Security Hub.public DeclineInvitationsRequest withAccountIds(Collection<String> accountIds)
The list of account IDs for the accounts from which to decline the invitations to Security Hub.
accountIds
- The list of account IDs for the accounts from which to decline the invitations to Security Hub.public String toString()
toString
in class Object
Object.toString()
public DeclineInvitationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()