Class MlEngineModelConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        @Stability(Stable)
        public MlEngineModelConfig.Builder name​(String name)
        Parameters:
        name - The name specified for the model. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#name MlEngineModel#name}
        Returns:
        this
      • description

        @Stability(Stable)
        public MlEngineModelConfig.Builder description​(String description)
        Parameters:
        description - The description specified for the model when it was created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#description MlEngineModel#description}
        Returns:
        this
      • id

        @Stability(Stable)
        public MlEngineModelConfig.Builder id​(String id)
        Sets the value of MlEngineModelConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#id MlEngineModel#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
        Returns:
        this
      • labels

        @Stability(Stable)
        public MlEngineModelConfig.Builder labels​(Map<String,​String> labels)
        Parameters:
        labels - One or more labels that you can add, to organize your models. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#labels MlEngineModel#labels}
        Returns:
        this
      • onlinePredictionConsoleLogging

        @Stability(Stable)
        public MlEngineModelConfig.Builder onlinePredictionConsoleLogging​(Boolean onlinePredictionConsoleLogging)
        Parameters:
        onlinePredictionConsoleLogging - If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#online_prediction_console_logging MlEngineModel#online_prediction_console_logging}
        Returns:
        this
      • onlinePredictionConsoleLogging

        @Stability(Stable)
        public MlEngineModelConfig.Builder onlinePredictionConsoleLogging​(com.hashicorp.cdktf.IResolvable onlinePredictionConsoleLogging)
        Parameters:
        onlinePredictionConsoleLogging - If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#online_prediction_console_logging MlEngineModel#online_prediction_console_logging}
        Returns:
        this
      • onlinePredictionLogging

        @Stability(Stable)
        public MlEngineModelConfig.Builder onlinePredictionLogging​(Boolean onlinePredictionLogging)
        Parameters:
        onlinePredictionLogging - If true, online prediction access logs are sent to StackDriver Logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#online_prediction_logging MlEngineModel#online_prediction_logging}
        Returns:
        this
      • onlinePredictionLogging

        @Stability(Stable)
        public MlEngineModelConfig.Builder onlinePredictionLogging​(com.hashicorp.cdktf.IResolvable onlinePredictionLogging)
        Parameters:
        onlinePredictionLogging - If true, online prediction access logs are sent to StackDriver Logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#online_prediction_logging MlEngineModel#online_prediction_logging}
        Returns:
        this
      • project

        @Stability(Stable)
        public MlEngineModelConfig.Builder project​(String project)
        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#project MlEngineModel#project}.
        Returns:
        this
      • regions

        @Stability(Stable)
        public MlEngineModelConfig.Builder regions​(List<String> regions)
        Parameters:
        regions - The list of regions where the model is going to be deployed. Currently only one region per model is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#regions MlEngineModel#regions}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public MlEngineModelConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public MlEngineModelConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public MlEngineModelConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public MlEngineModelConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public MlEngineModelConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public MlEngineModelConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public MlEngineModelConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public MlEngineModelConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public MlEngineModelConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this