Class VertexAiIndexEndpointPrivateServiceConnectConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vertex_ai_index_endpoint.VertexAiIndexEndpointPrivateServiceConnectConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VertexAiIndexEndpointPrivateServiceConnectConfig>
- Enclosing interface:
- VertexAiIndexEndpointPrivateServiceConnectConfig
@Stability(Stable) public static final class VertexAiIndexEndpointPrivateServiceConnectConfig.Builder extends Object implements software.amazon.jsii.Builder<VertexAiIndexEndpointPrivateServiceConnectConfig>
A builder forVertexAiIndexEndpointPrivateServiceConnectConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexAiIndexEndpointPrivateServiceConnectConfigbuild()Builds the configured instance.VertexAiIndexEndpointPrivateServiceConnectConfig.BuilderenablePrivateServiceConnect(com.hashicorp.cdktf.IResolvable enablePrivateServiceConnect)VertexAiIndexEndpointPrivateServiceConnectConfig.BuilderenablePrivateServiceConnect(Boolean enablePrivateServiceConnect)VertexAiIndexEndpointPrivateServiceConnectConfig.BuilderprojectAllowlist(List<String> projectAllowlist)Sets the value ofVertexAiIndexEndpointPrivateServiceConnectConfig.getProjectAllowlist()
-
-
-
Method Detail
-
enablePrivateServiceConnect
@Stability(Stable) public VertexAiIndexEndpointPrivateServiceConnectConfig.Builder enablePrivateServiceConnect(Boolean enablePrivateServiceConnect)
- Parameters:
enablePrivateServiceConnect- If set to true, the IndexEndpoint is created without private service access. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#enable_private_service_connect VertexAiIndexEndpoint#enable_private_service_connect}- Returns:
this
-
enablePrivateServiceConnect
@Stability(Stable) public VertexAiIndexEndpointPrivateServiceConnectConfig.Builder enablePrivateServiceConnect(com.hashicorp.cdktf.IResolvable enablePrivateServiceConnect)
- Parameters:
enablePrivateServiceConnect- If set to true, the IndexEndpoint is created without private service access. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#enable_private_service_connect VertexAiIndexEndpoint#enable_private_service_connect}- Returns:
this
-
projectAllowlist
@Stability(Stable) public VertexAiIndexEndpointPrivateServiceConnectConfig.Builder projectAllowlist(List<String> projectAllowlist)
Sets the value ofVertexAiIndexEndpointPrivateServiceConnectConfig.getProjectAllowlist()- Parameters:
projectAllowlist- A list of Projects from which the forwarding rule will target the service attachment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vertex_ai_index_endpoint#project_allowlist VertexAiIndexEndpoint#project_allowlist}- Returns:
this
-
build
@Stability(Stable) public VertexAiIndexEndpointPrivateServiceConnectConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VertexAiIndexEndpointPrivateServiceConnectConfig>- Returns:
- a new instance of
VertexAiIndexEndpointPrivateServiceConnectConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-