Class ClouddeployCustomTargetType.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.clouddeploy_custom_target_type.ClouddeployCustomTargetType.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClouddeployCustomTargetType>
- Enclosing class:
- ClouddeployCustomTargetType
@Stability(Stable) public static final class ClouddeployCustomTargetType.Builder extends Object implements software.amazon.jsii.Builder<ClouddeployCustomTargetType>
A fluent builder forClouddeployCustomTargetType.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClouddeployCustomTargetType.Builderannotations(Map<String,String> annotations)User annotations.ClouddeployCustomTargetTypebuild()ClouddeployCustomTargetType.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ClouddeployCustomTargetType.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ClouddeployCustomTargetType.Buildercount(com.hashicorp.cdktf.TerraformCount count)ClouddeployCustomTargetType.Buildercount(Number count)static ClouddeployCustomTargetType.Buildercreate(software.constructs.Construct scope, String id)ClouddeployCustomTargetType.BuildercustomActions(ClouddeployCustomTargetTypeCustomActions customActions)custom_actions block.ClouddeployCustomTargetType.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ClouddeployCustomTargetType.Builderdescription(String description)Description of the 'CustomTargetType'.ClouddeployCustomTargetType.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ClouddeployCustomTargetType.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#id ClouddeployCustomTargetType#id}.ClouddeployCustomTargetType.Builderlabels(Map<String,String> labels)Labels are attributes that can be set and used by both the user and by Cloud Deploy.ClouddeployCustomTargetType.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ClouddeployCustomTargetType.Builderlocation(String location)The location of the source.ClouddeployCustomTargetType.Buildername(String name)Name of the 'CustomTargetType'.ClouddeployCustomTargetType.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#project ClouddeployCustomTargetType#project}.ClouddeployCustomTargetType.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ClouddeployCustomTargetType.Builderprovisioners(List<? extends Object> provisioners)ClouddeployCustomTargetType.Buildertimeouts(ClouddeployCustomTargetTypeTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ClouddeployCustomTargetType.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
ClouddeployCustomTargetType.Builder.
-
connection
@Stability(Experimental) public ClouddeployCustomTargetType.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ClouddeployCustomTargetType.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ClouddeployCustomTargetType.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ClouddeployCustomTargetType.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ClouddeployCustomTargetType.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ClouddeployCustomTargetType.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ClouddeployCustomTargetType.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ClouddeployCustomTargetType.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ClouddeployCustomTargetType.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public ClouddeployCustomTargetType.Builder location(String location)
The location of the source.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#location ClouddeployCustomTargetType#location}
- Parameters:
location- The location of the source. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ClouddeployCustomTargetType.Builder name(String name)
Name of the 'CustomTargetType'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#name ClouddeployCustomTargetType#name}
- Parameters:
name- Name of the 'CustomTargetType'. This parameter is required.- Returns:
this
-
annotations
@Stability(Stable) public ClouddeployCustomTargetType.Builder annotations(Map<String,String> annotations)
User annotations.These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. **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/clouddeploy_custom_target_type#annotations ClouddeployCustomTargetType#annotations}
- Parameters:
annotations- User annotations. This parameter is required.- Returns:
this
-
customActions
@Stability(Stable) public ClouddeployCustomTargetType.Builder customActions(ClouddeployCustomTargetTypeCustomActions customActions)
custom_actions block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#custom_actions ClouddeployCustomTargetType#custom_actions}
- Parameters:
customActions- custom_actions block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public ClouddeployCustomTargetType.Builder description(String description)
Description of the 'CustomTargetType'. Max length is 255 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#description ClouddeployCustomTargetType#description}
- Parameters:
description- Description of the 'CustomTargetType'. Max length is 255 characters. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ClouddeployCustomTargetType.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#id ClouddeployCustomTargetType#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/clouddeploy_custom_target_type#id ClouddeployCustomTargetType#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public ClouddeployCustomTargetType.Builder labels(Map<String,String> labels)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. **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/clouddeploy_custom_target_type#labels ClouddeployCustomTargetType#labels}
- Parameters:
labels- Labels are attributes that can be set and used by both the user and by Cloud Deploy. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ClouddeployCustomTargetType.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#project ClouddeployCustomTargetType#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#project ClouddeployCustomTargetType#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ClouddeployCustomTargetType.Builder timeouts(ClouddeployCustomTargetTypeTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_custom_target_type#timeouts ClouddeployCustomTargetType#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ClouddeployCustomTargetType build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClouddeployCustomTargetType>- Returns:
- a newly built instance of
ClouddeployCustomTargetType.
-
-