public SchemaAnalysisRuleRequest withType(AnalysisRuleType type) {
        this.type = type.toString();
        return this;
    }
<p>
The type of analysis rule schema that you are requesting.
</p>

@param type
       The type of analysis rule schema that you are requesting.
@return Returns a reference to this object so that method calls can be chained together.
@see AnalysisRuleType
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/SchemaAnalysisRuleRequest.java