public KernelGatewayAppSettings withDefaultResourceSpec(ResourceSpec defaultResourceSpec) {
        setDefaultResourceSpec(defaultResourceSpec);
        return this;
    }
<p>
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the
KernelGateway app.
</p>
<note>
<p>
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type
set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is
not passed.
</p>
</note>

@param defaultResourceSpec
       The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the
       KernelGateway app.</p> <note>
       <p>
       The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance
       type set here is used when Apps are created using the CLI or CloudFormation and the instance type
       parameter value is not passed.
       </p>
@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/KernelGatewayAppSettings.java