public CreateModelRequest withEnableNetworkIsolation(Boolean enableNetworkIsolation) {
        setEnableNetworkIsolation(enableNetworkIsolation);
        return this;
    }
<p>
Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
</p>

@param enableNetworkIsolation
       Isolates the model container. No inbound or outbound network calls can be made to or from the model
       container.
@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/CreateModelRequest.java