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 - Memory for the Graph. This parameter is required.
      Returns:
      this
    • deletionProtection

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

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

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

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

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

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

      @Stability(Stable) public CfnGraphProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnGraphProps.getTags()
      Parameters:
      tags - The tags associated with this graph.
      Returns:
      this
    • vectorSearchConfiguration

      @Stability(Stable) public CfnGraphProps.Builder vectorSearchConfiguration(IResolvable vectorSearchConfiguration)
      Parameters:
      vectorSearchConfiguration - The vector search configuration.
      Returns:
      this
    • vectorSearchConfiguration

      @Stability(Stable) public CfnGraphProps.Builder vectorSearchConfiguration(CfnGraph.VectorSearchConfigurationProperty vectorSearchConfiguration)
      Parameters:
      vectorSearchConfiguration - The vector search configuration.
      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