@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DisableRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisableRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
An array of account IDs you want to disable Amazon Inspector scans for.
|
List<String> |
getResourceTypes()
The resource scan types you want to disable.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
An array of account IDs you want to disable Amazon Inspector scans for.
|
void |
setResourceTypes(Collection<String> resourceTypes)
The resource scan types you want to disable.
|
String |
toString()
Returns a string representation of this object.
|
DisableRequest |
withAccountIds(Collection<String> accountIds)
An array of account IDs you want to disable Amazon Inspector scans for.
|
DisableRequest |
withAccountIds(String... accountIds)
An array of account IDs you want to disable Amazon Inspector scans for.
|
DisableRequest |
withResourceTypes(Collection<String> resourceTypes)
The resource scan types you want to disable.
|
DisableRequest |
withResourceTypes(ResourceScanType... resourceTypes)
The resource scan types you want to disable.
|
DisableRequest |
withResourceTypes(String... resourceTypes)
The resource scan types you want to disable.
|
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<String> getAccountIds()
An array of account IDs you want to disable Amazon Inspector scans for.
public void setAccountIds(Collection<String> accountIds)
An array of account IDs you want to disable Amazon Inspector scans for.
accountIds - An array of account IDs you want to disable Amazon Inspector scans for.public DisableRequest withAccountIds(String... accountIds)
An array of account IDs you want to disable Amazon Inspector scans for.
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 - An array of account IDs you want to disable Amazon Inspector scans for.public DisableRequest withAccountIds(Collection<String> accountIds)
An array of account IDs you want to disable Amazon Inspector scans for.
accountIds - An array of account IDs you want to disable Amazon Inspector scans for.public List<String> getResourceTypes()
The resource scan types you want to disable.
ResourceScanTypepublic void setResourceTypes(Collection<String> resourceTypes)
The resource scan types you want to disable.
resourceTypes - The resource scan types you want to disable.ResourceScanTypepublic DisableRequest withResourceTypes(String... resourceTypes)
The resource scan types you want to disable.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection) or withResourceTypes(java.util.Collection) if you want
to override the existing values.
resourceTypes - The resource scan types you want to disable.ResourceScanTypepublic DisableRequest withResourceTypes(Collection<String> resourceTypes)
The resource scan types you want to disable.
resourceTypes - The resource scan types you want to disable.ResourceScanTypepublic DisableRequest withResourceTypes(ResourceScanType... resourceTypes)
The resource scan types you want to disable.
resourceTypes - The resource scan types you want to disable.ResourceScanTypepublic String toString()
toString in class ObjectObject.toString()public DisableRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()