public AwsS3BucketNotificationConfigurationDetail withType(String type) {
        setType(type);
        return this;
    }
<p>
Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS queues, or
Amazon SNS topics, with corresponding valid values as follows:
</p>
<ul>
<li>
<p>
<code>LambdaConfiguration</code>
</p>
</li>
<li>
<p>
<code>QueueConfiguration</code>
</p>
</li>
<li>
<p>
<code>TopicConfiguration</code>
</p>
</li>
</ul>

@param type
       Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS
       queues, or Amazon SNS topics, with corresponding valid values as follows:</p>
       <ul>
       <li>
       <p>
       <code>LambdaConfiguration</code>
       </p>
       </li>
       <li>
       <p>
       <code>QueueConfiguration</code>
       </p>
       </li>
       <li>
       <p>
       <code>TopicConfiguration</code>
       </p>
       </li>
@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/AwsS3BucketNotificationConfigurationDetail.java