public AwsSecurityFinding withSample(Boolean sample) {
        setSample(sample);
        return this;
    }
<p>
Indicates whether the finding is a sample finding.
</p>

@param sample
       Indicates whether the finding is a sample finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsSecurityFinding.java