Class CloudRunV2Job.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_job.CloudRunV2Job.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunV2Job>
- Enclosing class:
- CloudRunV2Job
@Stability(Stable) public static final class CloudRunV2Job.Builder extends Object implements software.amazon.jsii.Builder<CloudRunV2Job>
A fluent builder forCloudRunV2Job.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunV2Job.Builderannotations(Map<String,String> annotations)Unstructured key value map that may be set by external tools to store and arbitrary metadata.CloudRunV2Job.BuilderbinaryAuthorization(CloudRunV2JobBinaryAuthorization binaryAuthorization)binary_authorization block.CloudRunV2Jobbuild()CloudRunV2Job.Builderclient(String client)Arbitrary identifier for the API client.CloudRunV2Job.BuilderclientVersion(String clientVersion)Arbitrary version identifier for the API client.CloudRunV2Job.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)CloudRunV2Job.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)CloudRunV2Job.Buildercount(com.hashicorp.cdktf.TerraformCount count)CloudRunV2Job.Buildercount(Number count)static CloudRunV2Job.Buildercreate(software.constructs.Construct scope, String id)CloudRunV2Job.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)CloudRunV2Job.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)CloudRunV2Job.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#id CloudRunV2Job#id}.CloudRunV2Job.Builderlabels(Map<String,String> labels)Unstructured key value map that can be used to organize and categorize objects.CloudRunV2Job.BuilderlaunchStage(String launchStage)The launch stage as defined by Google Cloud Platform Launch Stages.CloudRunV2Job.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)CloudRunV2Job.Builderlocation(String location)The location of the cloud run job.CloudRunV2Job.Buildername(String name)Name of the Job.CloudRunV2Job.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#project CloudRunV2Job#project}.CloudRunV2Job.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)CloudRunV2Job.Builderprovisioners(List<? extends Object> provisioners)CloudRunV2Job.Buildertemplate(CloudRunV2JobTemplate template)template block.CloudRunV2Job.Buildertimeouts(CloudRunV2JobTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static CloudRunV2Job.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
CloudRunV2Job.Builder.
-
connection
@Stability(Experimental) public CloudRunV2Job.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public CloudRunV2Job.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public CloudRunV2Job.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public CloudRunV2Job.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public CloudRunV2Job.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public CloudRunV2Job.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public CloudRunV2Job.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public CloudRunV2Job.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public CloudRunV2Job.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public CloudRunV2Job.Builder location(String location)
The location of the cloud run job.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#location CloudRunV2Job#location}
- Parameters:
location- The location of the cloud run job. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public CloudRunV2Job.Builder name(String name)
Name of the Job.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#name CloudRunV2Job#name}
- Parameters:
name- Name of the Job. This parameter is required.- Returns:
this
-
template
@Stability(Stable) public CloudRunV2Job.Builder template(CloudRunV2JobTemplate template)
template block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#template CloudRunV2Job#template}
- Parameters:
template- template block. This parameter is required.- Returns:
this
-
annotations
@Stability(Stable) public CloudRunV2Job.Builder annotations(Map<String,String> annotations)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. This field follows Kubernetes annotations' namespacing, limits, and rules. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#annotations CloudRunV2Job#annotations}
- Parameters:
annotations- Unstructured key value map that may be set by external tools to store and arbitrary metadata. This parameter is required.- Returns:
this
-
binaryAuthorization
@Stability(Stable) public CloudRunV2Job.Builder binaryAuthorization(CloudRunV2JobBinaryAuthorization binaryAuthorization)
binary_authorization block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#binary_authorization CloudRunV2Job#binary_authorization}
- Parameters:
binaryAuthorization- binary_authorization block. This parameter is required.- Returns:
this
-
client
@Stability(Stable) public CloudRunV2Job.Builder client(String client)
Arbitrary identifier for the API client.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#client CloudRunV2Job#client}
- Parameters:
client- Arbitrary identifier for the API client. This parameter is required.- Returns:
this
-
clientVersion
@Stability(Stable) public CloudRunV2Job.Builder clientVersion(String clientVersion)
Arbitrary version identifier for the API client.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#client_version CloudRunV2Job#client_version}
- Parameters:
clientVersion- Arbitrary version identifier for the API client. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public CloudRunV2Job.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#id CloudRunV2Job#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/cloud_run_v2_job#id CloudRunV2Job#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public CloudRunV2Job.Builder labels(Map<String,String> labels)
Unstructured key value map that can be used to organize and categorize objects.User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job. **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/cloud_run_v2_job#labels CloudRunV2Job#labels}
- Parameters:
labels- Unstructured key value map that can be used to organize and categorize objects. This parameter is required.- Returns:
this
-
launchStage
@Stability(Stable) public CloudRunV2Job.Builder launchStage(String launchStage)
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features.For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values: ["UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#launch_stage CloudRunV2Job#launch_stage}
- Parameters:
launchStage- The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public CloudRunV2Job.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#project CloudRunV2Job#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#project CloudRunV2Job#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public CloudRunV2Job.Builder timeouts(CloudRunV2JobTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#timeouts CloudRunV2Job#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CloudRunV2Job build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunV2Job>- Returns:
- a newly built instance of
CloudRunV2Job.
-
-