Class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_os_policy_assignment.OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile>
- Enclosing interface:
- OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile
@Stability(Stable) public static final class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builder extends Object implements software.amazon.jsii.Builder<OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFilebuild()Builds the configured instance.OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Buildercontent(String content)OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builderfile(OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFileFile file)OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builderpath(String path)OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builderstate(String state)
-
-
-
Method Detail
-
path
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builder path(String path)
- Parameters:
path- The absolute path of the file within the VM. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#path OsConfigOsPolicyAssignment#path}- Returns:
this
-
state
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builder state(String state)
- Parameters:
state- Desired state of the file. Possible values: ["DESIRED_STATE_UNSPECIFIED", "PRESENT", "ABSENT", "CONTENTS_MATCH"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#state OsConfigOsPolicyAssignment#state}- Returns:
this
-
content
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builder content(String content)
- Parameters:
content- A a file with this content. The size of the content is limited to 1024 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#content OsConfigOsPolicyAssignment#content}- Returns:
this
-
file
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile.Builder file(OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFileFile file)
- Parameters:
file- file block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#file OsConfigOsPolicyAssignment#file}- Returns:
this
-
build
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile>- Returns:
- a new instance of
OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFile - Throws:
NullPointerException- if any required attribute was not provided
-
-