public void setAppNetworkAccessType(String appNetworkAccessType) {
        this.appNetworkAccessType = appNetworkAccessType;
    }
<p>
Specifies the VPC used for non-EFS traffic.
</p>
<ul>
<li>
<p>
<code>PublicInternetOnly</code> - Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows
direct internet access.
</p>
</li>
<li>
<p>
<code>VpcOnly</code> - All Studio traffic is through the specified VPC and subnets.
</p>
</li>
</ul>
<p>
This configuration can only be modified if there are no apps in the <code>InService</code>, <code>Pending</code>,
or <code>Deleting</code> state. The configuration cannot be updated if
<code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is already set or
<code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is provided as part of the same
request.
</p>

@param appNetworkAccessType
       Specifies the VPC used for non-EFS traffic.</p>
       <ul>
       <li>
       <p>
       <code>PublicInternetOnly</code> - Non-EFS traffic is through a VPC managed by Amazon SageMaker, which
       allows direct internet access.
       </p>
       </li>
       <li>
       <p>
       <code>VpcOnly</code> - All Studio traffic is through the specified VPC and subnets.
       </p>
       </li>
       </ul>
       <p>
       This configuration can only be modified if there are no apps in the <code>InService</code>,
       <code>Pending</code>, or <code>Deleting</code> state. The configuration cannot be updated if
       <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is already set or
       <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is provided as part of
       the same request.
@see AppNetworkAccessType
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/UpdateDomainRequest.java