Class ApikeysKeyRestrictions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apikeys_key.ApikeysKeyRestrictions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApikeysKeyRestrictions>
- Enclosing interface:
- ApikeysKeyRestrictions
@Stability(Stable) public static final class ApikeysKeyRestrictions.Builder extends Object implements software.amazon.jsii.Builder<ApikeysKeyRestrictions>
A builder forApikeysKeyRestrictions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
androidKeyRestrictions
@Stability(Stable) public ApikeysKeyRestrictions.Builder androidKeyRestrictions(ApikeysKeyRestrictionsAndroidKeyRestrictions androidKeyRestrictions)
Sets the value ofApikeysKeyRestrictions.getAndroidKeyRestrictions()- Parameters:
androidKeyRestrictions- android_key_restrictions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#android_key_restrictions ApikeysKey#android_key_restrictions}- Returns:
this
-
apiTargets
@Stability(Stable) public ApikeysKeyRestrictions.Builder apiTargets(com.hashicorp.cdktf.IResolvable apiTargets)
Sets the value ofApikeysKeyRestrictions.getApiTargets()- Parameters:
apiTargets- api_targets block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#api_targets ApikeysKey#api_targets}- Returns:
this
-
apiTargets
@Stability(Stable) public ApikeysKeyRestrictions.Builder apiTargets(List<? extends ApikeysKeyRestrictionsApiTargets> apiTargets)
Sets the value ofApikeysKeyRestrictions.getApiTargets()- Parameters:
apiTargets- api_targets block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#api_targets ApikeysKey#api_targets}- Returns:
this
-
browserKeyRestrictions
@Stability(Stable) public ApikeysKeyRestrictions.Builder browserKeyRestrictions(ApikeysKeyRestrictionsBrowserKeyRestrictions browserKeyRestrictions)
Sets the value ofApikeysKeyRestrictions.getBrowserKeyRestrictions()- Parameters:
browserKeyRestrictions- browser_key_restrictions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#browser_key_restrictions ApikeysKey#browser_key_restrictions}- Returns:
this
-
iosKeyRestrictions
@Stability(Stable) public ApikeysKeyRestrictions.Builder iosKeyRestrictions(ApikeysKeyRestrictionsIosKeyRestrictions iosKeyRestrictions)
Sets the value ofApikeysKeyRestrictions.getIosKeyRestrictions()- Parameters:
iosKeyRestrictions- ios_key_restrictions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#ios_key_restrictions ApikeysKey#ios_key_restrictions}- Returns:
this
-
serverKeyRestrictions
@Stability(Stable) public ApikeysKeyRestrictions.Builder serverKeyRestrictions(ApikeysKeyRestrictionsServerKeyRestrictions serverKeyRestrictions)
Sets the value ofApikeysKeyRestrictions.getServerKeyRestrictions()- Parameters:
serverKeyRestrictions- server_key_restrictions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#server_key_restrictions ApikeysKey#server_key_restrictions}- Returns:
this
-
build
@Stability(Stable) public ApikeysKeyRestrictions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApikeysKeyRestrictions>- Returns:
- a new instance of
ApikeysKeyRestrictions - Throws:
NullPointerException- if any required attribute was not provided
-
-