public RedshiftConnectorProfileProperties withIsRedshiftServerless(Boolean isRedshiftServerless) {
        setIsRedshiftServerless(isRedshiftServerless);
        return this;
    }
<p>
Indicates whether the connector profile defines a connection to an Amazon Redshift Serverless data warehouse.
</p>

@param isRedshiftServerless
       Indicates whether the connector profile defines a connection to an Amazon Redshift Serverless data
       warehouse.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/RedshiftConnectorProfileProperties.java