Class ApikeysKeyRestrictionsServerKeyRestrictions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apikeys_key.ApikeysKeyRestrictionsServerKeyRestrictions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApikeysKeyRestrictionsServerKeyRestrictions>
- Enclosing interface:
- ApikeysKeyRestrictionsServerKeyRestrictions
@Stability(Stable) public static final class ApikeysKeyRestrictionsServerKeyRestrictions.Builder extends Object implements software.amazon.jsii.Builder<ApikeysKeyRestrictionsServerKeyRestrictions>
A builder forApikeysKeyRestrictionsServerKeyRestrictions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApikeysKeyRestrictionsServerKeyRestrictions.BuilderallowedIps(List<String> allowedIps)Sets the value ofApikeysKeyRestrictionsServerKeyRestrictions.getAllowedIps()ApikeysKeyRestrictionsServerKeyRestrictionsbuild()Builds the configured instance.
-
-
-
Method Detail
-
allowedIps
@Stability(Stable) public ApikeysKeyRestrictionsServerKeyRestrictions.Builder allowedIps(List<String> allowedIps)
Sets the value ofApikeysKeyRestrictionsServerKeyRestrictions.getAllowedIps()- Parameters:
allowedIps- A list of the caller IP addresses that are allowed to make API calls with this key. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#allowed_ips ApikeysKey#allowed_ips}- Returns:
this
-
build
@Stability(Stable) public ApikeysKeyRestrictionsServerKeyRestrictions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApikeysKeyRestrictionsServerKeyRestrictions>- Returns:
- a new instance of
ApikeysKeyRestrictionsServerKeyRestrictions - Throws:
NullPointerException- if any required attribute was not provided
-
-