Class AssuredWorkloadsWorkloadConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.assured_workloads_workload.AssuredWorkloadsWorkloadConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssuredWorkloadsWorkloadConfig>
- Enclosing interface:
- AssuredWorkloadsWorkloadConfig
@Stability(Stable) public static final class AssuredWorkloadsWorkloadConfig.Builder extends Object implements software.amazon.jsii.Builder<AssuredWorkloadsWorkloadConfig>
A builder forAssuredWorkloadsWorkloadConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
complianceRegime
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder complianceRegime(String complianceRegime)
Sets the value ofAssuredWorkloadsWorkloadConfig.getComplianceRegime()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getDisplayName()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getLocation()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getOrganization()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getBillingAccount()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getEnableSovereignControls()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getEnableSovereignControls()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getId()- 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
-
kmsSettings
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder kmsSettings(AssuredWorkloadsWorkloadKmsSettings kmsSettings)
Sets the value ofAssuredWorkloadsWorkloadConfig.getKmsSettings()- Parameters:
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}- Returns:
this
-
labels
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder labels(Map<String,String> labels)
Sets the value ofAssuredWorkloadsWorkloadConfig.getLabels()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getPartner()- 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
-
partnerPermissions
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder partnerPermissions(AssuredWorkloadsWorkloadPartnerPermissions partnerPermissions)
Sets the value ofAssuredWorkloadsWorkloadConfig.getPartnerPermissions()- Parameters:
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}- Returns:
this
-
provisionedResourcesParent
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder provisionedResourcesParent(String provisionedResourcesParent)
Sets the value ofAssuredWorkloadsWorkloadConfig.getProvisionedResourcesParent()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getResourceSettings()- 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
-
resourceSettings
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder resourceSettings(List<? extends AssuredWorkloadsWorkloadResourceSettings> resourceSettings)
Sets the value ofAssuredWorkloadsWorkloadConfig.getResourceSettings()- 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
-
timeouts
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder timeouts(AssuredWorkloadsWorkloadTimeouts timeouts)
Sets the value ofAssuredWorkloadsWorkloadConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
violationNotificationsEnabled
@Stability(Stable) public AssuredWorkloadsWorkloadConfig.Builder violationNotificationsEnabled(Boolean violationNotificationsEnabled)
Sets the value ofAssuredWorkloadsWorkloadConfig.getViolationNotificationsEnabled()- 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)
Sets the value ofAssuredWorkloadsWorkloadConfig.getViolationNotificationsEnabled()- 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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AssuredWorkloadsWorkloadConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AssuredWorkloadsWorkloadConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public AssuredWorkloadsWorkloadConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AssuredWorkloadsWorkloadConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AssuredWorkloadsWorkloadConfig>- Returns:
- a new instance of
AssuredWorkloadsWorkloadConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-