Class CfnGraphMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphMixinProps>
- Enclosing interface:
CfnGraphMixinProps
CfnGraphMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deletionProtection(Boolean deletionProtection) Sets the value ofCfnGraphMixinProps.getDeletionProtection()deletionProtection(IResolvable deletionProtection) Sets the value ofCfnGraphMixinProps.getDeletionProtection()Sets the value ofCfnGraphMixinProps.getGraphName()provisionedMemory(Number provisionedMemory) Sets the value ofCfnGraphMixinProps.getProvisionedMemory()publicConnectivity(Boolean publicConnectivity) Sets the value ofCfnGraphMixinProps.getPublicConnectivity()publicConnectivity(IResolvable publicConnectivity) Sets the value ofCfnGraphMixinProps.getPublicConnectivity()replicaCount(Number replicaCount) Sets the value ofCfnGraphMixinProps.getReplicaCount()Sets the value ofCfnGraphMixinProps.getTags()vectorSearchConfiguration(CfnGraphPropsMixin.VectorSearchConfigurationProperty vectorSearchConfiguration) Sets the value ofCfnGraphMixinProps.getVectorSearchConfiguration()vectorSearchConfiguration(IResolvable vectorSearchConfiguration) Sets the value ofCfnGraphMixinProps.getVectorSearchConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deletionProtection
Sets the value ofCfnGraphMixinProps.getDeletionProtection()- Parameters:
deletionProtection- A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.- Returns:
this
-
deletionProtection
@Stability(Stable) public CfnGraphMixinProps.Builder deletionProtection(IResolvable deletionProtection) Sets the value ofCfnGraphMixinProps.getDeletionProtection()- Parameters:
deletionProtection- A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.- Returns:
this
-
graphName
Sets the value ofCfnGraphMixinProps.getGraphName()- Parameters:
graphName- The graph name. For example:my-graph-1. The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.If you don't specify a graph name, a unique graph name is generated for you using the prefix
graph-for, followed by a combination ofStack Nameand aUUID.- Returns:
this
-
provisionedMemory
Sets the value ofCfnGraphMixinProps.getProvisionedMemory()- Parameters:
provisionedMemory- The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 16- Returns:
this
-
publicConnectivity
Sets the value ofCfnGraphMixinProps.getPublicConnectivity()- Parameters:
publicConnectivity- Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. When the graph is publicly available, its domain name system (DNS) endpoint resolves to the public IP address from the internet. When the graph isn't publicly available, you need to create aPrivateGraphEndpointin a given VPC to ensure the DNS name resolves to a private IP address that is reachable from the VPC.Default: If not specified, the default value is false.
If enabling public connectivity for the first time, there will be a delay while it is enabled.
- Returns:
this
-
publicConnectivity
@Stability(Stable) public CfnGraphMixinProps.Builder publicConnectivity(IResolvable publicConnectivity) Sets the value ofCfnGraphMixinProps.getPublicConnectivity()- Parameters:
publicConnectivity- Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. When the graph is publicly available, its domain name system (DNS) endpoint resolves to the public IP address from the internet. When the graph isn't publicly available, you need to create aPrivateGraphEndpointin a given VPC to ensure the DNS name resolves to a private IP address that is reachable from the VPC.Default: If not specified, the default value is false.
If enabling public connectivity for the first time, there will be a delay while it is enabled.
- Returns:
this
-
replicaCount
Sets the value ofCfnGraphMixinProps.getReplicaCount()- Parameters:
replicaCount- The number of replicas in other AZs. Default: If not specified, the default value is 1.- Returns:
this
-
tags
Sets the value ofCfnGraphMixinProps.getTags()- Parameters:
tags- Adds metadata tags to the new graph. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.- Returns:
this
-
vectorSearchConfiguration
@Stability(Stable) public CfnGraphMixinProps.Builder vectorSearchConfiguration(IResolvable vectorSearchConfiguration) Sets the value ofCfnGraphMixinProps.getVectorSearchConfiguration()- Parameters:
vectorSearchConfiguration- Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified asdimension=value. Max = 65,535- Returns:
this
-
vectorSearchConfiguration
@Stability(Stable) public CfnGraphMixinProps.Builder vectorSearchConfiguration(CfnGraphPropsMixin.VectorSearchConfigurationProperty vectorSearchConfiguration) Sets the value ofCfnGraphMixinProps.getVectorSearchConfiguration()- Parameters:
vectorSearchConfiguration- Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified asdimension=value. Max = 65,535- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraphMixinProps>- Returns:
- a new instance of
CfnGraphMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-