Class SecurityposturePostureDeployment.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public SecurityposturePostureDeployment.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public SecurityposturePostureDeployment.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public SecurityposturePostureDeployment.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public SecurityposturePostureDeployment.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public SecurityposturePostureDeployment.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public SecurityposturePostureDeployment.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder location​(String location)
        The location of the resource, eg. global'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#location SecurityposturePostureDeployment#location}

        Parameters:
        location - The location of the resource, eg. global'. This parameter is required.
        Returns:
        this
      • parent

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder parent​(String parent)
        The parent of the resource, an organization. Format should be 'organizations/{organization_id}'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#parent SecurityposturePostureDeployment#parent}

        Parameters:
        parent - The parent of the resource, an organization. Format should be 'organizations/{organization_id}'. This parameter is required.
        Returns:
        this
      • postureDeploymentId

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder postureDeploymentId​(String postureDeploymentId)
        ID of the posture deployment.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#posture_deployment_id SecurityposturePostureDeployment#posture_deployment_id}

        Parameters:
        postureDeploymentId - ID of the posture deployment. This parameter is required.
        Returns:
        this
      • postureId

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder postureId​(String postureId)
        Relative name of the posture which needs to be deployed. It should be in the format: organizations/{organization_id}/locations/{location}/postures/{posture_id}.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#posture_id SecurityposturePostureDeployment#posture_id}

        Parameters:
        postureId - Relative name of the posture which needs to be deployed. It should be in the format: organizations/{organization_id}/locations/{location}/postures/{posture_id}. This parameter is required.
        Returns:
        this
      • postureRevisionId

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder postureRevisionId​(String postureRevisionId)
        Revision_id the posture which needs to be deployed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#posture_revision_id SecurityposturePostureDeployment#posture_revision_id}

        Parameters:
        postureRevisionId - Revision_id the posture which needs to be deployed. This parameter is required.
        Returns:
        this
      • targetResource

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder targetResource​(String targetResource)
        The resource on which the posture should be deployed. This can be in one of the following formats: projects/{project_number}, folders/{folder_number}, organizations/{organization_id}.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#target_resource SecurityposturePostureDeployment#target_resource}

        Parameters:
        targetResource - The resource on which the posture should be deployed. This can be in one of the following formats: projects/{project_number}, folders/{folder_number}, organizations/{organization_id}. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder description​(String description)
        Description of the posture deployment.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#description SecurityposturePostureDeployment#description}

        Parameters:
        description - Description of the posture deployment. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#id SecurityposturePostureDeployment#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/securityposture_posture_deployment#id SecurityposturePostureDeployment#id}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public SecurityposturePostureDeployment.Builder timeouts​(SecurityposturePostureDeploymentTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture_deployment#timeouts SecurityposturePostureDeployment#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this