Class CfnGraphProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphProps>
- Enclosing interface:
CfnGraphProps
CfnGraphProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deletionProtection(Boolean deletionProtection) Sets the value ofCfnGraphProps.getDeletionProtection()deletionProtection(IResolvable deletionProtection) Sets the value ofCfnGraphProps.getDeletionProtection()Sets the value ofCfnGraphProps.getGraphName()provisionedMemory(Number provisionedMemory) Sets the value ofCfnGraphProps.getProvisionedMemory()publicConnectivity(Boolean publicConnectivity) Sets the value ofCfnGraphProps.getPublicConnectivity()publicConnectivity(IResolvable publicConnectivity) Sets the value ofCfnGraphProps.getPublicConnectivity()replicaCount(Number replicaCount) Sets the value ofCfnGraphProps.getReplicaCount()Sets the value ofCfnGraphProps.getTags()vectorSearchConfiguration(IResolvable vectorSearchConfiguration) Sets the value ofCfnGraphProps.getVectorSearchConfiguration()vectorSearchConfiguration(CfnGraph.VectorSearchConfigurationProperty vectorSearchConfiguration) Sets the value ofCfnGraphProps.getVectorSearchConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
provisionedMemory
Sets the value ofCfnGraphProps.getProvisionedMemory()- Parameters:
provisionedMemory- Memory for the Graph. This parameter is required.- Returns:
this
-
deletionProtection
Sets the value ofCfnGraphProps.getDeletionProtection()- Parameters:
deletionProtection- Value that indicates whether the Graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.Default: If not specified, the default value is true.
- Returns:
this
-
deletionProtection
Sets the value ofCfnGraphProps.getDeletionProtection()- Parameters:
deletionProtection- Value that indicates whether the Graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.Default: If not specified, the default value is true.
- Returns:
this
-
graphName
Sets the value ofCfnGraphProps.getGraphName()- Parameters:
graphName- Contains a user-supplied name for the Graph. If you don't specify a name, we generate a unique Graph Name using a combination of Stack Name and a UUID comprising of 4 characters.Important: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Returns:
this
-
publicConnectivity
Sets the value ofCfnGraphProps.getPublicConnectivity()- Parameters:
publicConnectivity- Specifies whether the Graph can be reached over the internet. Access to all graphs requires IAM authentication. When the Graph is publicly reachable, its Domain Name System (DNS) endpoint resolves to the public IP address from the internet.When the Graph isn't publicly reachable, you need to create a PrivateGraphEndpoint in 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.
- Returns:
this
-
publicConnectivity
Sets the value ofCfnGraphProps.getPublicConnectivity()- Parameters:
publicConnectivity- Specifies whether the Graph can be reached over the internet. Access to all graphs requires IAM authentication. When the Graph is publicly reachable, its Domain Name System (DNS) endpoint resolves to the public IP address from the internet.When the Graph isn't publicly reachable, you need to create a PrivateGraphEndpoint in 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.
- Returns:
this
-
replicaCount
Sets the value ofCfnGraphProps.getReplicaCount()- Parameters:
replicaCount- Specifies the number of replicas you want when finished. All replicas will be provisioned in different availability zones. Replica Count should always be less than or equal to 2.Default: If not specified, the default value is 1.
- Returns:
this
-
tags
Sets the value ofCfnGraphProps.getTags()- Parameters:
tags- The tags associated with this graph.- Returns:
this
-
vectorSearchConfiguration
@Stability(Stable) public CfnGraphProps.Builder vectorSearchConfiguration(IResolvable vectorSearchConfiguration) Sets the value ofCfnGraphProps.getVectorSearchConfiguration()- Parameters:
vectorSearchConfiguration- The vector search configuration.- Returns:
this
-
vectorSearchConfiguration
@Stability(Stable) public CfnGraphProps.Builder vectorSearchConfiguration(CfnGraph.VectorSearchConfigurationProperty vectorSearchConfiguration) Sets the value ofCfnGraphProps.getVectorSearchConfiguration()- Parameters:
vectorSearchConfiguration- The vector search configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraphProps>- Returns:
- a new instance of
CfnGraphProps - Throws:
NullPointerException- if any required attribute was not provided
-