Class IamWorkforcePoolAccessRestrictions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.iam_workforce_pool.IamWorkforcePoolAccessRestrictions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IamWorkforcePoolAccessRestrictions>
- Enclosing interface:
- IamWorkforcePoolAccessRestrictions
@Stability(Stable) public static final class IamWorkforcePoolAccessRestrictions.Builder extends Object implements software.amazon.jsii.Builder<IamWorkforcePoolAccessRestrictions>
A builder forIamWorkforcePoolAccessRestrictions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IamWorkforcePoolAccessRestrictions.BuilderallowedServices(com.hashicorp.cdktf.IResolvable allowedServices)Sets the value ofIamWorkforcePoolAccessRestrictions.getAllowedServices()IamWorkforcePoolAccessRestrictions.BuilderallowedServices(List<? extends IamWorkforcePoolAccessRestrictionsAllowedServices> allowedServices)Sets the value ofIamWorkforcePoolAccessRestrictions.getAllowedServices()IamWorkforcePoolAccessRestrictionsbuild()Builds the configured instance.IamWorkforcePoolAccessRestrictions.BuilderdisableProgrammaticSignin(com.hashicorp.cdktf.IResolvable disableProgrammaticSignin)Sets the value ofIamWorkforcePoolAccessRestrictions.getDisableProgrammaticSignin()IamWorkforcePoolAccessRestrictions.BuilderdisableProgrammaticSignin(Boolean disableProgrammaticSignin)Sets the value ofIamWorkforcePoolAccessRestrictions.getDisableProgrammaticSignin()
-
-
-
Method Detail
-
allowedServices
@Stability(Stable) public IamWorkforcePoolAccessRestrictions.Builder allowedServices(com.hashicorp.cdktf.IResolvable allowedServices)
Sets the value ofIamWorkforcePoolAccessRestrictions.getAllowedServices()- Parameters:
allowedServices- allowed_services block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool#allowed_services IamWorkforcePool#allowed_services}- Returns:
this
-
allowedServices
@Stability(Stable) public IamWorkforcePoolAccessRestrictions.Builder allowedServices(List<? extends IamWorkforcePoolAccessRestrictionsAllowedServices> allowedServices)
Sets the value ofIamWorkforcePoolAccessRestrictions.getAllowedServices()- Parameters:
allowedServices- allowed_services block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool#allowed_services IamWorkforcePool#allowed_services}- Returns:
this
-
disableProgrammaticSignin
@Stability(Stable) public IamWorkforcePoolAccessRestrictions.Builder disableProgrammaticSignin(Boolean disableProgrammaticSignin)
Sets the value ofIamWorkforcePoolAccessRestrictions.getDisableProgrammaticSignin()- Parameters:
disableProgrammaticSignin- Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See Security Token Service API. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool#disable_programmatic_signin IamWorkforcePool#disable_programmatic_signin}- Returns:
this
-
disableProgrammaticSignin
@Stability(Stable) public IamWorkforcePoolAccessRestrictions.Builder disableProgrammaticSignin(com.hashicorp.cdktf.IResolvable disableProgrammaticSignin)
Sets the value ofIamWorkforcePoolAccessRestrictions.getDisableProgrammaticSignin()- Parameters:
disableProgrammaticSignin- Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See Security Token Service API. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool#disable_programmatic_signin IamWorkforcePool#disable_programmatic_signin}- Returns:
this
-
build
@Stability(Stable) public IamWorkforcePoolAccessRestrictions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IamWorkforcePoolAccessRestrictions>- Returns:
- a new instance of
IamWorkforcePoolAccessRestrictions - Throws:
NullPointerException- if any required attribute was not provided
-
-