@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSampleFindingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSampleFindingsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSampleFindingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDetectorId()
The ID of the detector to create sample findings for.
|
List<String> |
getFindingTypes()
The types of sample findings to generate.
|
int |
hashCode() |
void |
setDetectorId(String detectorId)
The ID of the detector to create sample findings for.
|
void |
setFindingTypes(Collection<String> findingTypes)
The types of sample findings to generate.
|
String |
toString()
Returns a string representation of this object.
|
CreateSampleFindingsRequest |
withDetectorId(String detectorId)
The ID of the detector to create sample findings for.
|
CreateSampleFindingsRequest |
withFindingTypes(Collection<String> findingTypes)
The types of sample findings to generate.
|
CreateSampleFindingsRequest |
withFindingTypes(String... findingTypes)
The types of sample findings to generate.
|
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 void setDetectorId(String detectorId)
The ID of the detector to create sample findings for.
detectorId
- The ID of the detector to create sample findings for.public String getDetectorId()
The ID of the detector to create sample findings for.
public CreateSampleFindingsRequest withDetectorId(String detectorId)
The ID of the detector to create sample findings for.
detectorId
- The ID of the detector to create sample findings for.public List<String> getFindingTypes()
The types of sample findings to generate.
public void setFindingTypes(Collection<String> findingTypes)
The types of sample findings to generate.
findingTypes
- The types of sample findings to generate.public CreateSampleFindingsRequest withFindingTypes(String... findingTypes)
The types of sample findings to generate.
NOTE: This method appends the values to the existing list (if any). Use
setFindingTypes(java.util.Collection)
or withFindingTypes(java.util.Collection)
if you want to
override the existing values.
findingTypes
- The types of sample findings to generate.public CreateSampleFindingsRequest withFindingTypes(Collection<String> findingTypes)
The types of sample findings to generate.
findingTypes
- The types of sample findings to generate.public String toString()
toString
in class Object
Object.toString()
public CreateSampleFindingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()