Class ConfigOrganizationCustomRuleConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.config_organization_custom_rule.ConfigOrganizationCustomRuleConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigOrganizationCustomRuleConfig>
- Enclosing interface:
- ConfigOrganizationCustomRuleConfig
@Stability(Stable) public static final class ConfigOrganizationCustomRuleConfig.Builder extends Object implements software.amazon.jsii.Builder<ConfigOrganizationCustomRuleConfig>
A builder forConfigOrganizationCustomRuleConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
lambdaFunctionArn
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder lambdaFunctionArn(String lambdaFunctionArn)
Sets the value ofConfigOrganizationCustomRuleConfig.getLambdaFunctionArn()- Parameters:
lambdaFunctionArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#lambda_function_arn ConfigOrganizationCustomRule#lambda_function_arn}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder name(String name)
Sets the value ofConfigOrganizationCustomRuleConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#name ConfigOrganizationCustomRule#name}. This parameter is required.- Returns:
this
-
triggerTypes
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder triggerTypes(List<String> triggerTypes)
Sets the value ofConfigOrganizationCustomRuleConfig.getTriggerTypes()- Parameters:
triggerTypes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#trigger_types ConfigOrganizationCustomRule#trigger_types}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder description(String description)
Sets the value ofConfigOrganizationCustomRuleConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#description ConfigOrganizationCustomRule#description}.- Returns:
this
-
excludedAccounts
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder excludedAccounts(List<String> excludedAccounts)
Sets the value ofConfigOrganizationCustomRuleConfig.getExcludedAccounts()- Parameters:
excludedAccounts- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#excluded_accounts ConfigOrganizationCustomRule#excluded_accounts}.- Returns:
this
-
id
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder id(String id)
Sets the value ofConfigOrganizationCustomRuleConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#id ConfigOrganizationCustomRule#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
-
inputParameters
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder inputParameters(String inputParameters)
Sets the value ofConfigOrganizationCustomRuleConfig.getInputParameters()- Parameters:
inputParameters- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#input_parameters ConfigOrganizationCustomRule#input_parameters}.- Returns:
this
-
maximumExecutionFrequency
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder maximumExecutionFrequency(String maximumExecutionFrequency)
Sets the value ofConfigOrganizationCustomRuleConfig.getMaximumExecutionFrequency()- Parameters:
maximumExecutionFrequency- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#maximum_execution_frequency ConfigOrganizationCustomRule#maximum_execution_frequency}.- Returns:
this
-
resourceIdScope
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder resourceIdScope(String resourceIdScope)
Sets the value ofConfigOrganizationCustomRuleConfig.getResourceIdScope()- Parameters:
resourceIdScope- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#resource_id_scope ConfigOrganizationCustomRule#resource_id_scope}.- Returns:
this
-
resourceTypesScope
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder resourceTypesScope(List<String> resourceTypesScope)
Sets the value ofConfigOrganizationCustomRuleConfig.getResourceTypesScope()- Parameters:
resourceTypesScope- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#resource_types_scope ConfigOrganizationCustomRule#resource_types_scope}.- Returns:
this
-
tagKeyScope
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder tagKeyScope(String tagKeyScope)
Sets the value ofConfigOrganizationCustomRuleConfig.getTagKeyScope()- Parameters:
tagKeyScope- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#tag_key_scope ConfigOrganizationCustomRule#tag_key_scope}.- Returns:
this
-
tagValueScope
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder tagValueScope(String tagValueScope)
Sets the value ofConfigOrganizationCustomRuleConfig.getTagValueScope()- Parameters:
tagValueScope- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#tag_value_scope ConfigOrganizationCustomRule#tag_value_scope}.- Returns:
this
-
timeouts
@Stability(Stable) public ConfigOrganizationCustomRuleConfig.Builder timeouts(ConfigOrganizationCustomRuleTimeouts timeouts)
Sets the value ofConfigOrganizationCustomRuleConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_organization_custom_rule#timeouts ConfigOrganizationCustomRule#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ConfigOrganizationCustomRuleConfig.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 ConfigOrganizationCustomRuleConfig.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 ConfigOrganizationCustomRuleConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ConfigOrganizationCustomRuleConfig.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 ConfigOrganizationCustomRuleConfig.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 ConfigOrganizationCustomRuleConfig.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 ConfigOrganizationCustomRuleConfig.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 ConfigOrganizationCustomRuleConfig.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 ConfigOrganizationCustomRuleConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ConfigOrganizationCustomRuleConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConfigOrganizationCustomRuleConfig>- Returns:
- a new instance of
ConfigOrganizationCustomRuleConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-