Class ClouddeployCustomTargetType.Builder

    • Method Detail

      • 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​(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
      • 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