public Builder toBuilder() {
    return new Builder(this);
  }
Returns a builder containing all the values of this settings class.
java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerSettings.java