Class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_os_policy_assignment.OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource>
- Enclosing interface:
- OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource
@Stability(Stable) public static final class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder extends Object implements software.amazon.jsii.Builder<OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.BuilderallowInsecure(com.hashicorp.cdktf.IResolvable allowInsecure)OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.BuilderallowInsecure(Boolean allowInsecure)OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSourcebuild()Builds the configured instance.OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Buildergcs(OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSourceGcs gcs)OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.BuilderlocalPath(String localPath)OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builderremote(OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSourceRemote remote)
-
-
-
Method Detail
-
allowInsecure
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder allowInsecure(Boolean allowInsecure)
Sets the value ofOsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.getAllowInsecure()- Parameters:
allowInsecure- Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#allow_insecure OsConfigOsPolicyAssignment#allow_insecure}- Returns:
this
-
allowInsecure
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder allowInsecure(com.hashicorp.cdktf.IResolvable allowInsecure)
Sets the value ofOsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.getAllowInsecure()- Parameters:
allowInsecure- Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#allow_insecure OsConfigOsPolicyAssignment#allow_insecure}- Returns:
this
-
gcs
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder gcs(OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSourceGcs gcs)
- Parameters:
gcs- gcs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#gcs OsConfigOsPolicyAssignment#gcs}- Returns:
this
-
localPath
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder localPath(String localPath)
Sets the value ofOsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.getLocalPath()- Parameters:
localPath- A local path within the VM to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#local_path OsConfigOsPolicyAssignment#local_path}- Returns:
this
-
remote
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.Builder remote(OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSourceRemote remote)
Sets the value ofOsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource.getRemote()- Parameters:
remote- remote block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#remote OsConfigOsPolicyAssignment#remote}- Returns:
this
-
build
@Stability(Stable) public OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource>- Returns:
- a new instance of
OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesPkgRpmSource - Throws:
NullPointerException- if any required attribute was not provided
-
-