Class MlEngineModel.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.ml_engine_model.MlEngineModel.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MlEngineModel>
- Enclosing class:
- MlEngineModel
@Stability(Stable) public static final class MlEngineModel.Builder extends Object implements software.amazon.jsii.Builder<MlEngineModel>
A fluent builder forMlEngineModel.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MlEngineModelbuild()MlEngineModel.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)MlEngineModel.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)MlEngineModel.Buildercount(com.hashicorp.cdktf.TerraformCount count)MlEngineModel.Buildercount(Number count)static MlEngineModel.Buildercreate(software.constructs.Construct scope, String id)MlEngineModel.BuilderdefaultVersion(MlEngineModelDefaultVersion defaultVersion)default_version block.MlEngineModel.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)MlEngineModel.Builderdescription(String description)The description specified for the model when it was created.MlEngineModel.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)MlEngineModel.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#id MlEngineModel#id}.MlEngineModel.Builderlabels(Map<String,String> labels)One or more labels that you can add, to organize your models.MlEngineModel.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)MlEngineModel.Buildername(String name)The name specified for the model.MlEngineModel.BuilderonlinePredictionConsoleLogging(com.hashicorp.cdktf.IResolvable onlinePredictionConsoleLogging)If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging.MlEngineModel.BuilderonlinePredictionConsoleLogging(Boolean onlinePredictionConsoleLogging)If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging.MlEngineModel.BuilderonlinePredictionLogging(com.hashicorp.cdktf.IResolvable onlinePredictionLogging)If true, online prediction access logs are sent to StackDriver Logging.MlEngineModel.BuilderonlinePredictionLogging(Boolean onlinePredictionLogging)If true, online prediction access logs are sent to StackDriver Logging.MlEngineModel.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#project MlEngineModel#project}.MlEngineModel.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)MlEngineModel.Builderprovisioners(List<? extends Object> provisioners)MlEngineModel.Builderregions(List<String> regions)The list of regions where the model is going to be deployed.MlEngineModel.Buildertimeouts(MlEngineModelTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static MlEngineModel.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
MlEngineModel.Builder.
-
connection
@Stability(Experimental) public MlEngineModel.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public MlEngineModel.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public MlEngineModel.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public MlEngineModel.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public MlEngineModel.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public MlEngineModel.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public MlEngineModel.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public MlEngineModel.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public MlEngineModel.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public MlEngineModel.Builder name(String name)
The name specified for the model.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#name MlEngineModel#name}
- Parameters:
name- The name specified for the model. This parameter is required.- Returns:
this
-
defaultVersion
@Stability(Stable) public MlEngineModel.Builder defaultVersion(MlEngineModelDefaultVersion defaultVersion)
default_version block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#default_version MlEngineModel#default_version}
- Parameters:
defaultVersion- default_version block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public MlEngineModel.Builder description(String 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}
- Parameters:
description- The description specified for the model when it was created. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public MlEngineModel.Builder id(String 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.
- 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}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public MlEngineModel.Builder labels(Map<String,String> 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}
- Parameters:
labels- One or more labels that you can add, to organize your models. This parameter is required.- Returns:
this
-
onlinePredictionConsoleLogging
@Stability(Stable) public MlEngineModel.Builder onlinePredictionConsoleLogging(Boolean 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}
- Parameters:
onlinePredictionConsoleLogging- If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging. This parameter is required.- Returns:
this
-
onlinePredictionConsoleLogging
@Stability(Stable) public MlEngineModel.Builder onlinePredictionConsoleLogging(com.hashicorp.cdktf.IResolvable 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}
- Parameters:
onlinePredictionConsoleLogging- If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging. This parameter is required.- Returns:
this
-
onlinePredictionLogging
@Stability(Stable) public MlEngineModel.Builder onlinePredictionLogging(Boolean 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}
- Parameters:
onlinePredictionLogging- If true, online prediction access logs are sent to StackDriver Logging. This parameter is required.- Returns:
this
-
onlinePredictionLogging
@Stability(Stable) public MlEngineModel.Builder onlinePredictionLogging(com.hashicorp.cdktf.IResolvable 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}
- Parameters:
onlinePredictionLogging- If true, online prediction access logs are sent to StackDriver Logging. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public MlEngineModel.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#project MlEngineModel#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}. This parameter is required.- Returns:
this
-
regions
@Stability(Stable) public MlEngineModel.Builder regions(List<String> 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}
- Parameters:
regions- The list of regions where the model is going to be deployed. Currently only one region per model is supported. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public MlEngineModel.Builder timeouts(MlEngineModelTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/ml_engine_model#timeouts MlEngineModel#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public MlEngineModel build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MlEngineModel>- Returns:
- a newly built instance of
MlEngineModel.
-
-