public CanvasAppSettings withGenerativeAiSettings(GenerativeAiSettings generativeAiSettings) {
        setGenerativeAiSettings(generativeAiSettings);
        return this;
    }
<p>
The generative AI settings for the SageMaker Canvas application.
</p>

@param generativeAiSettings
       The generative AI settings for the SageMaker Canvas application.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CanvasAppSettings.java