Class AssuredWorkloadsWorkload.Builder

    • Method Detail

      • connection

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

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

        @Stability(Experimental)
        public AssuredWorkloadsWorkload.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

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

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

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

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

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder complianceRegime​(String complianceRegime)
        Required.

        Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#compliance_regime AssuredWorkloadsWorkload#compliance_regime}

        Parameters:
        complianceRegime - Required. This parameter is required.
        Returns:
        this
      • displayName

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder displayName​(String displayName)
        Required.

        The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#display_name AssuredWorkloadsWorkload#display_name}

        Parameters:
        displayName - Required. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder location​(String location)
        The location for the resource.

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

        Parameters:
        location - The location for the resource. This parameter is required.
        Returns:
        this
      • organization

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder organization​(String organization)
        The organization for the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#organization AssuredWorkloadsWorkload#organization}

        Parameters:
        organization - The organization for the resource. This parameter is required.
        Returns:
        this
      • billingAccount

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder billingAccount​(String billingAccount)
        Optional.

        Input only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#billing_account AssuredWorkloadsWorkload#billing_account}

        Parameters:
        billingAccount - Optional. This parameter is required.
        Returns:
        this
      • enableSovereignControls

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder enableSovereignControls​(Boolean enableSovereignControls)
        Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#enable_sovereign_controls AssuredWorkloadsWorkload#enable_sovereign_controls}

        Parameters:
        enableSovereignControls - Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers. This parameter is required.
        Returns:
        this
      • enableSovereignControls

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder enableSovereignControls​(com.hashicorp.cdktf.IResolvable enableSovereignControls)
        Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#enable_sovereign_controls AssuredWorkloadsWorkload#enable_sovereign_controls}

        Parameters:
        enableSovereignControls - Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder kmsSettings​(AssuredWorkloadsWorkloadKmsSettings kmsSettings)
        kms_settings block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#kms_settings AssuredWorkloadsWorkload#kms_settings}

        Parameters:
        kmsSettings - kms_settings block. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder labels​(Map<String,​String> labels)
        Optional. Labels applied to the workload.

        **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/assured_workloads_workload#labels AssuredWorkloadsWorkload#labels}

        Parameters:
        labels - Optional. Labels applied to the workload. This parameter is required.
        Returns:
        this
      • partner

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder partner​(String partner)
        Optional. Partner regime associated with this workload. Possible values: PARTNER_UNSPECIFIED, LOCAL_CONTROLS_BY_S3NS, SOVEREIGN_CONTROLS_BY_T_SYSTEMS, SOVEREIGN_CONTROLS_BY_SIA_MINSAIT, SOVEREIGN_CONTROLS_BY_PSN.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#partner AssuredWorkloadsWorkload#partner}

        Parameters:
        partner - Optional. Partner regime associated with this workload. Possible values: PARTNER_UNSPECIFIED, LOCAL_CONTROLS_BY_S3NS, SOVEREIGN_CONTROLS_BY_T_SYSTEMS, SOVEREIGN_CONTROLS_BY_SIA_MINSAIT, SOVEREIGN_CONTROLS_BY_PSN. This parameter is required.
        Returns:
        this
      • partnerPermissions

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder partnerPermissions​(AssuredWorkloadsWorkloadPartnerPermissions partnerPermissions)
        partner_permissions block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#partner_permissions AssuredWorkloadsWorkload#partner_permissions}

        Parameters:
        partnerPermissions - partner_permissions block. This parameter is required.
        Returns:
        this
      • provisionedResourcesParent

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder provisionedResourcesParent​(String provisionedResourcesParent)
        Input only.

        The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#provisioned_resources_parent AssuredWorkloadsWorkload#provisioned_resources_parent}

        Parameters:
        provisionedResourcesParent - Input only. This parameter is required.
        Returns:
        this
      • resourceSettings

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder resourceSettings​(com.hashicorp.cdktf.IResolvable resourceSettings)
        resource_settings block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#resource_settings AssuredWorkloadsWorkload#resource_settings}

        Parameters:
        resourceSettings - resource_settings block. This parameter is required.
        Returns:
        this
      • resourceSettings

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder resourceSettings​(List<? extends AssuredWorkloadsWorkloadResourceSettings> resourceSettings)
        resource_settings block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#resource_settings AssuredWorkloadsWorkload#resource_settings}

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

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder timeouts​(AssuredWorkloadsWorkloadTimeouts timeouts)
        timeouts block.

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

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

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder violationNotificationsEnabled​(Boolean violationNotificationsEnabled)
        Optional.

        Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#violation_notifications_enabled AssuredWorkloadsWorkload#violation_notifications_enabled}

        Parameters:
        violationNotificationsEnabled - Optional. This parameter is required.
        Returns:
        this
      • violationNotificationsEnabled

        @Stability(Stable)
        public AssuredWorkloadsWorkload.Builder violationNotificationsEnabled​(com.hashicorp.cdktf.IResolvable violationNotificationsEnabled)
        Optional.

        Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#violation_notifications_enabled AssuredWorkloadsWorkload#violation_notifications_enabled}

        Parameters:
        violationNotificationsEnabled - Optional. This parameter is required.
        Returns:
        this