Class AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_service_perimeter_egress_policy.AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerServicePerimeterEgressPolicyEgressTo>
- Enclosing interface:
- AccessContextManagerServicePerimeterEgressPolicyEgressTo
@Stability(Stable) public static final class AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerServicePerimeterEgressPolicyEgressTo>
A builder forAccessContextManagerServicePerimeterEgressPolicyEgressTo
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessContextManagerServicePerimeterEgressPolicyEgressTobuild()Builds the configured instance.AccessContextManagerServicePerimeterEgressPolicyEgressTo.BuilderexternalResources(List<String> externalResources)AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builderoperations(com.hashicorp.cdktf.IResolvable operations)Sets the value ofAccessContextManagerServicePerimeterEgressPolicyEgressTo.getOperations()AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builderoperations(List<? extends AccessContextManagerServicePerimeterEgressPolicyEgressToOperations> operations)Sets the value ofAccessContextManagerServicePerimeterEgressPolicyEgressTo.getOperations()AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builderresources(List<String> resources)Sets the value ofAccessContextManagerServicePerimeterEgressPolicyEgressTo.getResources()
-
-
-
Method Detail
-
externalResources
@Stability(Stable) public AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builder externalResources(List<String> externalResources)
- Parameters:
externalResources- A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_egress_policy#external_resources AccessContextManagerServicePerimeterEgressPolicy#external_resources}- Returns:
this
-
operations
@Stability(Stable) public AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builder operations(com.hashicorp.cdktf.IResolvable operations)
Sets the value ofAccessContextManagerServicePerimeterEgressPolicyEgressTo.getOperations()- Parameters:
operations- operations block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_egress_policy#operations AccessContextManagerServicePerimeterEgressPolicy#operations}- Returns:
this
-
operations
@Stability(Stable) public AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builder operations(List<? extends AccessContextManagerServicePerimeterEgressPolicyEgressToOperations> operations)
Sets the value ofAccessContextManagerServicePerimeterEgressPolicyEgressTo.getOperations()- Parameters:
operations- operations block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_egress_policy#operations AccessContextManagerServicePerimeterEgressPolicy#operations}- Returns:
this
-
resources
@Stability(Stable) public AccessContextManagerServicePerimeterEgressPolicyEgressTo.Builder resources(List<String> resources)
Sets the value ofAccessContextManagerServicePerimeterEgressPolicyEgressTo.getResources()- Parameters:
resources- A list of resources, currently only projects in the form 'projects/', that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this 'EgressTo' rule will authorize access to all resources outside the perimeter. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_egress_policy#resources AccessContextManagerServicePerimeterEgressPolicy#resources} - Returns:
this
-
build
@Stability(Stable) public AccessContextManagerServicePerimeterEgressPolicyEgressTo build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerServicePerimeterEgressPolicyEgressTo>- Returns:
- a new instance of
AccessContextManagerServicePerimeterEgressPolicyEgressTo - Throws:
NullPointerException- if any required attribute was not provided
-
-