@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) |
List<String> |
getFindingTypes()
An array that lists one or more types of findings to include in the set of sample findings.
|
int |
hashCode() |
void |
setFindingTypes(Collection<String> findingTypes)
An array that lists one or more types of findings to include in the set of sample findings.
|
String |
toString()
Returns a string representation of this object.
|
CreateSampleFindingsRequest |
withFindingTypes(Collection<String> findingTypes)
An array that lists one or more types of findings to include in the set of sample findings.
|
CreateSampleFindingsRequest |
withFindingTypes(FindingType... findingTypes)
An array that lists one or more types of findings to include in the set of sample findings.
|
CreateSampleFindingsRequest |
withFindingTypes(String... findingTypes)
An array that lists one or more types of findings to include in the set of sample findings.
|
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> getFindingTypes()
An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.
FindingType
public void setFindingTypes(Collection<String> findingTypes)
An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.
findingTypes
- An array that lists one or more types of findings to include in the set of sample findings. Currently, the
only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.FindingType
public CreateSampleFindingsRequest withFindingTypes(String... findingTypes)
An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.
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
- An array that lists one or more types of findings to include in the set of sample findings. Currently, the
only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.FindingType
public CreateSampleFindingsRequest withFindingTypes(Collection<String> findingTypes)
An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.
findingTypes
- An array that lists one or more types of findings to include in the set of sample findings. Currently, the
only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.FindingType
public CreateSampleFindingsRequest withFindingTypes(FindingType... findingTypes)
An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.
findingTypes
- An array that lists one or more types of findings to include in the set of sample findings. Currently, the
only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.FindingType
public String toString()
toString
in class Object
Object.toString()
public CreateSampleFindingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()