Class ConfigConfigurationRecorderConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.config_configuration_recorder.ConfigConfigurationRecorderConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigConfigurationRecorderConfig>
- Enclosing interface:
- ConfigConfigurationRecorderConfig
@Stability(Stable) public static final class ConfigConfigurationRecorderConfig.Builder extends Object implements software.amazon.jsii.Builder<ConfigConfigurationRecorderConfig>
A builder forConfigConfigurationRecorderConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigConfigurationRecorderConfigbuild()Builds the configured instance.ConfigConfigurationRecorderConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ConfigConfigurationRecorderConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ConfigConfigurationRecorderConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ConfigConfigurationRecorderConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ConfigConfigurationRecorderConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ConfigConfigurationRecorderConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ConfigConfigurationRecorderConfig.Builderid(String id)Sets the value ofConfigConfigurationRecorderConfig.getId()ConfigConfigurationRecorderConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ConfigConfigurationRecorderConfig.Buildername(String name)Sets the value ofConfigConfigurationRecorderConfig.getName()ConfigConfigurationRecorderConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ConfigConfigurationRecorderConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ConfigConfigurationRecorderConfig.BuilderrecordingGroup(ConfigConfigurationRecorderRecordingGroup recordingGroup)Sets the value ofConfigConfigurationRecorderConfig.getRecordingGroup()ConfigConfigurationRecorderConfig.BuilderroleArn(String roleArn)Sets the value ofConfigConfigurationRecorderConfig.getRoleArn()
-
-
-
Method Detail
-
roleArn
@Stability(Stable) public ConfigConfigurationRecorderConfig.Builder roleArn(String roleArn)
Sets the value ofConfigConfigurationRecorderConfig.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_configuration_recorder#role_arn ConfigConfigurationRecorder#role_arn}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ConfigConfigurationRecorderConfig.Builder id(String id)
Sets the value ofConfigConfigurationRecorderConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_configuration_recorder#id ConfigConfigurationRecorder#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
-
name
@Stability(Stable) public ConfigConfigurationRecorderConfig.Builder name(String name)
Sets the value ofConfigConfigurationRecorderConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_configuration_recorder#name ConfigConfigurationRecorder#name}.- Returns:
this
-
recordingGroup
@Stability(Stable) public ConfigConfigurationRecorderConfig.Builder recordingGroup(ConfigConfigurationRecorderRecordingGroup recordingGroup)
Sets the value ofConfigConfigurationRecorderConfig.getRecordingGroup()- Parameters:
recordingGroup- recording_group block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/config_configuration_recorder#recording_group ConfigConfigurationRecorder#recording_group}- Returns:
this
-
connection
@Stability(Experimental) public ConfigConfigurationRecorderConfig.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 ConfigConfigurationRecorderConfig.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 ConfigConfigurationRecorderConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ConfigConfigurationRecorderConfig.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 ConfigConfigurationRecorderConfig.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 ConfigConfigurationRecorderConfig.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 ConfigConfigurationRecorderConfig.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 ConfigConfigurationRecorderConfig.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 ConfigConfigurationRecorderConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ConfigConfigurationRecorderConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConfigConfigurationRecorderConfig>- Returns:
- a new instance of
ConfigConfigurationRecorderConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-