Class AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_access_level.AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerAccessLevelBasicConditionsDevicePolicy>
- Enclosing interface:
- AccessContextManagerAccessLevelBasicConditionsDevicePolicy
@Stability(Stable) public static final class AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerAccessLevelBasicConditionsDevicePolicy>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
allowedDeviceManagementLevels
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder allowedDeviceManagementLevels(List<String> allowedDeviceManagementLevels)
Sets the value ofAccessContextManagerAccessLevelBasicConditionsDevicePolicy.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#allowed_device_management_levels AccessContextManagerAccessLevel#allowed_device_management_levels}- Returns:
this
-
allowedEncryptionStatuses
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder allowedEncryptionStatuses(List<String> allowedEncryptionStatuses)
Sets the value ofAccessContextManagerAccessLevelBasicConditionsDevicePolicy.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#allowed_encryption_statuses AccessContextManagerAccessLevel#allowed_encryption_statuses}- Returns:
this
-
osConstraints
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder osConstraints(com.hashicorp.cdktf.IResolvable osConstraints)
- 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#os_constraints AccessContextManagerAccessLevel#os_constraints}- Returns:
this
-
osConstraints
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder osConstraints(List<? extends AccessContextManagerAccessLevelBasicConditionsDevicePolicyOsConstraints> osConstraints)
- 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#os_constraints AccessContextManagerAccessLevel#os_constraints}- Returns:
this
-
requireAdminApproval
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder requireAdminApproval(Boolean requireAdminApproval)
Sets the value ofAccessContextManagerAccessLevelBasicConditionsDevicePolicy.getRequireAdminApproval()- 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#require_admin_approval AccessContextManagerAccessLevel#require_admin_approval}- Returns:
this
-
requireAdminApproval
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.Builder requireAdminApproval(com.hashicorp.cdktf.IResolvable requireAdminApproval)
Sets the value ofAccessContextManagerAccessLevelBasicConditionsDevicePolicy.getRequireAdminApproval()- 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#require_admin_approval AccessContextManagerAccessLevel#require_admin_approval}- Returns:
this
-
requireCorpOwned
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.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#require_corp_owned AccessContextManagerAccessLevel#require_corp_owned}- Returns:
this
-
requireCorpOwned
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.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#require_corp_owned AccessContextManagerAccessLevel#require_corp_owned}- Returns:
this
-
requireScreenLock
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.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#require_screen_lock AccessContextManagerAccessLevel#require_screen_lock}- Returns:
this
-
requireScreenLock
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy.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#require_screen_lock AccessContextManagerAccessLevel#require_screen_lock}- Returns:
this
-
build
@Stability(Stable) public AccessContextManagerAccessLevelBasicConditionsDevicePolicy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerAccessLevelBasicConditionsDevicePolicy>- Returns:
- a new instance of
AccessContextManagerAccessLevelBasicConditionsDevicePolicy - Throws:
NullPointerException- if any required attribute was not provided
-
-