public void setVpcOnlyTrustedAccounts(java.util.Collection<String> vpcOnlyTrustedAccounts) {
        if (vpcOnlyTrustedAccounts == null) {
            this.vpcOnlyTrustedAccounts = null;
            return;
        }

        this.vpcOnlyTrustedAccounts = new java.util.ArrayList<String>(vpcOnlyTrustedAccounts);
    }
<p>
The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.
</p>

@param vpcOnlyTrustedAccounts
       The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/DockerSettings.java