Class AccessContextManagerAccessLevelConditionDevicePolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_access_level_condition.AccessContextManagerAccessLevelConditionDevicePolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerAccessLevelConditionDevicePolicy>
- Enclosing interface:
- AccessContextManagerAccessLevelConditionDevicePolicy
@Stability(Stable) public static final class AccessContextManagerAccessLevelConditionDevicePolicy.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerAccessLevelConditionDevicePolicy>
A builder forAccessContextManagerAccessLevelConditionDevicePolicy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
allowedDeviceManagementLevels
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder allowedDeviceManagementLevels(List<String> allowedDeviceManagementLevels)
Sets the value ofAccessContextManagerAccessLevelConditionDevicePolicy.getAllowedDeviceManagementLevels()- Parameters:
allowedDeviceManagementLevels- A list of allowed device management levels. An empty list allows all management levels. Possible values: ["MANAGEMENT_UNSPECIFIED", "NONE", "BASIC", "COMPLETE"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#allowed_device_management_levels AccessContextManagerAccessLevelCondition#allowed_device_management_levels}- Returns:
this
-
allowedEncryptionStatuses
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder allowedEncryptionStatuses(List<String> allowedEncryptionStatuses)
Sets the value ofAccessContextManagerAccessLevelConditionDevicePolicy.getAllowedEncryptionStatuses()- Parameters:
allowedEncryptionStatuses- A list of allowed encryptions statuses. An empty list allows all statuses. Possible values: ["ENCRYPTION_UNSPECIFIED", "ENCRYPTION_UNSUPPORTED", "UNENCRYPTED", "ENCRYPTED"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#allowed_encryption_statuses AccessContextManagerAccessLevelCondition#allowed_encryption_statuses}- Returns:
this
-
osConstraints
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder osConstraints(com.hashicorp.cdktf.IResolvable osConstraints)
Sets the value ofAccessContextManagerAccessLevelConditionDevicePolicy.getOsConstraints()- Parameters:
osConstraints- os_constraints block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#os_constraints AccessContextManagerAccessLevelCondition#os_constraints}- Returns:
this
-
osConstraints
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder osConstraints(List<? extends AccessContextManagerAccessLevelConditionDevicePolicyOsConstraints> osConstraints)
Sets the value ofAccessContextManagerAccessLevelConditionDevicePolicy.getOsConstraints()- Parameters:
osConstraints- os_constraints block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#os_constraints AccessContextManagerAccessLevelCondition#os_constraints}- Returns:
this
-
requireAdminApproval
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder requireAdminApproval(Boolean requireAdminApproval)
- Parameters:
requireAdminApproval- Whether the device needs to be approved by the customer admin. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#require_admin_approval AccessContextManagerAccessLevelCondition#require_admin_approval}- Returns:
this
-
requireAdminApproval
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder requireAdminApproval(com.hashicorp.cdktf.IResolvable requireAdminApproval)
- Parameters:
requireAdminApproval- Whether the device needs to be approved by the customer admin. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#require_admin_approval AccessContextManagerAccessLevelCondition#require_admin_approval}- Returns:
this
-
requireCorpOwned
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder requireCorpOwned(Boolean requireCorpOwned)
- Parameters:
requireCorpOwned- Whether the device needs to be corp owned. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#require_corp_owned AccessContextManagerAccessLevelCondition#require_corp_owned}- Returns:
this
-
requireCorpOwned
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder requireCorpOwned(com.hashicorp.cdktf.IResolvable requireCorpOwned)
- Parameters:
requireCorpOwned- Whether the device needs to be corp owned. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#require_corp_owned AccessContextManagerAccessLevelCondition#require_corp_owned}- Returns:
this
-
requireScreenLock
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder requireScreenLock(Boolean requireScreenLock)
- Parameters:
requireScreenLock- Whether or not screenlock is required for the DevicePolicy to be true. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#require_screen_lock AccessContextManagerAccessLevelCondition#require_screen_lock}- Returns:
this
-
requireScreenLock
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy.Builder requireScreenLock(com.hashicorp.cdktf.IResolvable requireScreenLock)
- Parameters:
requireScreenLock- Whether or not screenlock is required for the DevicePolicy to be true. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_access_level_condition#require_screen_lock AccessContextManagerAccessLevelCondition#require_screen_lock}- Returns:
this
-
build
@Stability(Stable) public AccessContextManagerAccessLevelConditionDevicePolicy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerAccessLevelConditionDevicePolicy>- Returns:
- a new instance of
AccessContextManagerAccessLevelConditionDevicePolicy - Throws:
NullPointerException- if any required attribute was not provided
-
-