Class AssuredWorkloadsWorkloadConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • complianceRegime

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder complianceRegime​(String complianceRegime)
        Parameters:
        complianceRegime - Required. This parameter is 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}
        Returns:
        this
      • displayName

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - Required. This parameter is 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}
        Returns:
        this
      • location

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder location​(String location)
        Parameters:
        location - The location for the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#location AssuredWorkloadsWorkload#location}
        Returns:
        this
      • organization

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder organization​(String organization)
        Parameters:
        organization - The organization for the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#organization AssuredWorkloadsWorkload#organization}
        Returns:
        this
      • billingAccount

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder billingAccount​(String billingAccount)
        Parameters:
        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}
        Returns:
        this
      • enableSovereignControls

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder enableSovereignControls​(Boolean enableSovereignControls)
        Parameters:
        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}
        Returns:
        this
      • enableSovereignControls

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder enableSovereignControls​(com.hashicorp.cdktf.IResolvable enableSovereignControls)
        Parameters:
        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}
        Returns:
        this
      • id

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder id​(String id)
        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}. 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.
        Returns:
        this
      • labels

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder labels​(Map<String,​String> labels)
        Parameters:
        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}
        Returns:
        this
      • partner

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

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder provisionedResourcesParent​(String provisionedResourcesParent)
        Parameters:
        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}
        Returns:
        this
      • resourceSettings

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder resourceSettings​(com.hashicorp.cdktf.IResolvable resourceSettings)
        Parameters:
        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}
        Returns:
        this
      • violationNotificationsEnabled

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder violationNotificationsEnabled​(Boolean violationNotificationsEnabled)
        Parameters:
        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}
        Returns:
        this
      • violationNotificationsEnabled

        @Stability(Stable)
        public AssuredWorkloadsWorkloadConfig.Builder violationNotificationsEnabled​(com.hashicorp.cdktf.IResolvable violationNotificationsEnabled)
        Parameters:
        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}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public AssuredWorkloadsWorkloadConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this