Class OsConfigPatchDeployment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeployment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeployment>
- Enclosing class:
- OsConfigPatchDeployment
@Stability(Stable) public static final class OsConfigPatchDeployment.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeployment>
A fluent builder forOsConfigPatchDeployment.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentbuild()OsConfigPatchDeployment.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)OsConfigPatchDeployment.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)OsConfigPatchDeployment.Buildercount(com.hashicorp.cdktf.TerraformCount count)OsConfigPatchDeployment.Buildercount(Number count)static OsConfigPatchDeployment.Buildercreate(software.constructs.Construct scope, String id)OsConfigPatchDeployment.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)OsConfigPatchDeployment.Builderdescription(String description)Description of the patch deployment.OsConfigPatchDeployment.Builderduration(String duration)Duration of the patch.OsConfigPatchDeployment.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)OsConfigPatchDeployment.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#id OsConfigPatchDeployment#id}.OsConfigPatchDeployment.BuilderinstanceFilter(OsConfigPatchDeploymentInstanceFilter instanceFilter)instance_filter block.OsConfigPatchDeployment.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)OsConfigPatchDeployment.BuilderoneTimeSchedule(OsConfigPatchDeploymentOneTimeSchedule oneTimeSchedule)one_time_schedule block.OsConfigPatchDeployment.BuilderpatchConfig(OsConfigPatchDeploymentPatchConfig patchConfig)patch_config block.OsConfigPatchDeployment.BuilderpatchDeploymentId(String patchDeploymentId)A name for the patch deployment in the project.OsConfigPatchDeployment.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#project OsConfigPatchDeployment#project}.OsConfigPatchDeployment.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)OsConfigPatchDeployment.Builderprovisioners(List<? extends Object> provisioners)OsConfigPatchDeployment.BuilderrecurringSchedule(OsConfigPatchDeploymentRecurringSchedule recurringSchedule)recurring_schedule block.OsConfigPatchDeployment.Builderrollout(OsConfigPatchDeploymentRollout rollout)rollout block.OsConfigPatchDeployment.Buildertimeouts(OsConfigPatchDeploymentTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static OsConfigPatchDeployment.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
OsConfigPatchDeployment.Builder.
-
connection
@Stability(Experimental) public OsConfigPatchDeployment.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public OsConfigPatchDeployment.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public OsConfigPatchDeployment.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public OsConfigPatchDeployment.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public OsConfigPatchDeployment.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public OsConfigPatchDeployment.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public OsConfigPatchDeployment.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public OsConfigPatchDeployment.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public OsConfigPatchDeployment.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
instanceFilter
@Stability(Stable) public OsConfigPatchDeployment.Builder instanceFilter(OsConfigPatchDeploymentInstanceFilter instanceFilter)
instance_filter block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#instance_filter OsConfigPatchDeployment#instance_filter}
- Parameters:
instanceFilter- instance_filter block. This parameter is required.- Returns:
this
-
patchDeploymentId
@Stability(Stable) public OsConfigPatchDeployment.Builder patchDeploymentId(String patchDeploymentId)
A name for the patch deployment in the project.When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#patch_deployment_id OsConfigPatchDeployment#patch_deployment_id}
- Parameters:
patchDeploymentId- A name for the patch deployment in the project. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public OsConfigPatchDeployment.Builder description(String description)
Description of the patch deployment. Length of the description is limited to 1024 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#description OsConfigPatchDeployment#description}
- Parameters:
description- Description of the patch deployment. Length of the description is limited to 1024 characters. This parameter is required.- Returns:
this
-
duration
@Stability(Stable) public OsConfigPatchDeployment.Builder duration(String duration)
Duration of the patch.After the duration ends, the patch times out. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s" Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#duration OsConfigPatchDeployment#duration}
- Parameters:
duration- Duration of the patch. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public OsConfigPatchDeployment.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#id OsConfigPatchDeployment#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#id OsConfigPatchDeployment#id}. This parameter is required.- Returns:
this
-
oneTimeSchedule
@Stability(Stable) public OsConfigPatchDeployment.Builder oneTimeSchedule(OsConfigPatchDeploymentOneTimeSchedule oneTimeSchedule)
one_time_schedule block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#one_time_schedule OsConfigPatchDeployment#one_time_schedule}
- Parameters:
oneTimeSchedule- one_time_schedule block. This parameter is required.- Returns:
this
-
patchConfig
@Stability(Stable) public OsConfigPatchDeployment.Builder patchConfig(OsConfigPatchDeploymentPatchConfig patchConfig)
patch_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#patch_config OsConfigPatchDeployment#patch_config}
- Parameters:
patchConfig- patch_config block. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public OsConfigPatchDeployment.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#project OsConfigPatchDeployment#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#project OsConfigPatchDeployment#project}. This parameter is required.- Returns:
this
-
recurringSchedule
@Stability(Stable) public OsConfigPatchDeployment.Builder recurringSchedule(OsConfigPatchDeploymentRecurringSchedule recurringSchedule)
recurring_schedule block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#recurring_schedule OsConfigPatchDeployment#recurring_schedule}
- Parameters:
recurringSchedule- recurring_schedule block. This parameter is required.- Returns:
this
-
rollout
@Stability(Stable) public OsConfigPatchDeployment.Builder rollout(OsConfigPatchDeploymentRollout rollout)
rollout block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#rollout OsConfigPatchDeployment#rollout}
- Parameters:
rollout- rollout block. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public OsConfigPatchDeployment.Builder timeouts(OsConfigPatchDeploymentTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#timeouts OsConfigPatchDeployment#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeployment build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeployment>- Returns:
- a newly built instance of
OsConfigPatchDeployment.
-
-