Class DevicefarmInstanceProfileConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.devicefarm_instance_profile.DevicefarmInstanceProfileConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevicefarmInstanceProfileConfig>
- Enclosing interface:
- DevicefarmInstanceProfileConfig
@Stability(Stable) public static final class DevicefarmInstanceProfileConfig.Builder extends Object implements software.amazon.jsii.Builder<DevicefarmInstanceProfileConfig>
A builder forDevicefarmInstanceProfileConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder name(String name)
Sets the value ofDevicefarmInstanceProfileConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#name DevicefarmInstanceProfile#name}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder description(String description)
Sets the value ofDevicefarmInstanceProfileConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#description DevicefarmInstanceProfile#description}.- Returns:
this
-
excludeAppPackagesFromCleanup
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder excludeAppPackagesFromCleanup(List<String> excludeAppPackagesFromCleanup)
Sets the value ofDevicefarmInstanceProfileConfig.getExcludeAppPackagesFromCleanup()- Parameters:
excludeAppPackagesFromCleanup- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#exclude_app_packages_from_cleanup DevicefarmInstanceProfile#exclude_app_packages_from_cleanup}.- Returns:
this
-
id
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder id(String id)
Sets the value ofDevicefarmInstanceProfileConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#id DevicefarmInstanceProfile#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
-
packageCleanup
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder packageCleanup(Boolean packageCleanup)
Sets the value ofDevicefarmInstanceProfileConfig.getPackageCleanup()- Parameters:
packageCleanup- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#package_cleanup DevicefarmInstanceProfile#package_cleanup}.- Returns:
this
-
packageCleanup
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder packageCleanup(com.hashicorp.cdktf.IResolvable packageCleanup)
Sets the value ofDevicefarmInstanceProfileConfig.getPackageCleanup()- Parameters:
packageCleanup- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#package_cleanup DevicefarmInstanceProfile#package_cleanup}.- Returns:
this
-
rebootAfterUse
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder rebootAfterUse(Boolean rebootAfterUse)
Sets the value ofDevicefarmInstanceProfileConfig.getRebootAfterUse()- Parameters:
rebootAfterUse- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#reboot_after_use DevicefarmInstanceProfile#reboot_after_use}.- Returns:
this
-
rebootAfterUse
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder rebootAfterUse(com.hashicorp.cdktf.IResolvable rebootAfterUse)
Sets the value ofDevicefarmInstanceProfileConfig.getRebootAfterUse()- Parameters:
rebootAfterUse- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#reboot_after_use DevicefarmInstanceProfile#reboot_after_use}.- Returns:
this
-
tags
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder tags(Map<String,String> tags)
Sets the value ofDevicefarmInstanceProfileConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#tags DevicefarmInstanceProfile#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DevicefarmInstanceProfileConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDevicefarmInstanceProfileConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/devicefarm_instance_profile#tags_all DevicefarmInstanceProfile#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public DevicefarmInstanceProfileConfig.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 DevicefarmInstanceProfileConfig.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 DevicefarmInstanceProfileConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DevicefarmInstanceProfileConfig.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 DevicefarmInstanceProfileConfig.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 DevicefarmInstanceProfileConfig.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 DevicefarmInstanceProfileConfig.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 DevicefarmInstanceProfileConfig.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 DevicefarmInstanceProfileConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DevicefarmInstanceProfileConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DevicefarmInstanceProfileConfig>- Returns:
- a new instance of
DevicefarmInstanceProfileConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-