Class CfnGraphMixinProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • deletionProtection

      @Stability(Stable) public CfnGraphMixinProps.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 CfnGraphMixinProps.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 CfnGraphMixinProps.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
    • provisionedMemory

      @Stability(Stable) public CfnGraphMixinProps.Builder provisionedMemory(Number provisionedMemory)
      Parameters:
      provisionedMemory - The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 16
      Returns:
      this
    • publicConnectivity

      @Stability(Stable) public CfnGraphMixinProps.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 CfnGraphMixinProps.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 CfnGraphMixinProps.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 CfnGraphMixinProps.Builder tags(List<? extends CfnTag> tags)
      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)
      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 CfnGraphMixinProps.Builder vectorSearchConfiguration(CfnGraphPropsMixin.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 CfnGraphMixinProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGraphMixinProps>
      Returns:
      a new instance of CfnGraphMixinProps
      Throws:
      NullPointerException - if any required attribute was not provided