Class CfnGraphProps.Builder

java.lang.Object
software.amazon.awscdk.services.neptunegraph.CfnGraphProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphProps>
Enclosing interface:
CfnGraphProps

@Stability(Stable) public static final class CfnGraphProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGraphProps>
A builder for CfnGraphProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • provisionedMemory

      @Stability(Stable) public CfnGraphProps.Builder provisionedMemory(Number provisionedMemory)
      Parameters:
      provisionedMemory - The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. This parameter is required. Min = 128
      Returns:
      this
    • deletionProtection

      @Stability(Stable) public CfnGraphProps.Builder deletionProtection(Boolean deletionProtection)
      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 CfnGraphProps.Builder deletionProtection(IResolvable deletionProtection)
      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

      @Stability(Stable) public CfnGraphProps.Builder graphName(String graphName)
      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 of Stack Name and a UUID .

      Returns:
      this
    • publicConnectivity

      @Stability(Stable) public CfnGraphProps.Builder publicConnectivity(Boolean publicConnectivity)
      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 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.

      If enabling public connectivity for the first time, there will be a delay while it is enabled.

      Returns:
      this
    • publicConnectivity

      @Stability(Stable) public CfnGraphProps.Builder publicConnectivity(IResolvable publicConnectivity)
      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 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.

      If enabling public connectivity for the first time, there will be a delay while it is enabled.

      Returns:
      this
    • replicaCount

      @Stability(Stable) public CfnGraphProps.Builder replicaCount(Number replicaCount)
      Parameters:
      replicaCount - The number of replicas in other AZs. Default: If not specified, the default value is 1.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnGraphProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnGraphProps.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 CfnGraphProps.Builder vectorSearchConfiguration(IResolvable vectorSearchConfiguration)
      Parameters:
      vectorSearchConfiguration - Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified as dimension= value. Max = 65,535
      Returns:
      this
    • vectorSearchConfiguration

      @Stability(Stable) public CfnGraphProps.Builder vectorSearchConfiguration(CfnGraph.VectorSearchConfigurationProperty vectorSearchConfiguration)
      Parameters:
      vectorSearchConfiguration - Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified as dimension= value. Max = 65,535
      Returns:
      this
    • build

      @Stability(Stable) public CfnGraphProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGraphProps>
      Returns:
      a new instance of CfnGraphProps
      Throws:
      NullPointerException - if any required attribute was not provided