Interface CreateGraphRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGraphRequest.Builder,CreateGraphRequest>,NeptuneGraphRequest.Builder,SdkBuilder<CreateGraphRequest.Builder,CreateGraphRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateGraphRequest
public static interface CreateGraphRequest.Builder extends NeptuneGraphRequest.Builder, SdkPojo, CopyableBuilder<CreateGraphRequest.Builder,CreateGraphRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateGraphRequest.BuilderdeletionProtection(Boolean deletionProtection)Indicates whether or not to enable deletion protection on the graph.CreateGraphRequest.BuildergraphName(String graphName)A name for the new Neptune Analytics graph to be created.CreateGraphRequest.BuilderkmsKeyIdentifier(String kmsKeyIdentifier)Specifies a KMS key to use to encrypt data in the new graph.CreateGraphRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateGraphRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateGraphRequest.BuilderprovisionedMemory(Integer provisionedMemory)The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.CreateGraphRequest.BuilderpublicConnectivity(Boolean publicConnectivity)Specifies whether or not the graph can be reachable over the internet.CreateGraphRequest.BuilderreplicaCount(Integer replicaCount)The number of replicas in other AZs.CreateGraphRequest.Buildertags(Map<String,String> tags)Adds metadata tags to the new graph.default CreateGraphRequest.BuildervectorSearchConfiguration(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration)Specifies the number of dimensions for vector embeddings that will be loaded into the graph.CreateGraphRequest.BuildervectorSearchConfiguration(VectorSearchConfiguration vectorSearchConfiguration)Specifies the number of dimensions for vector embeddings that will be loaded into the graph.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
graphName
CreateGraphRequest.Builder graphName(String graphName)
A name for the new Neptune Analytics graph to be created.
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.
- Parameters:
graphName- A name for the new Neptune Analytics graph to be created.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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateGraphRequest.Builder tags(Map<String,String> 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
publicConnectivity
CreateGraphRequest.Builder publicConnectivity(Boolean publicConnectivity)
Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated. (
trueto enable, orfalseto disable.- Parameters:
publicConnectivity- Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated. (trueto enable, orfalseto disable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
CreateGraphRequest.Builder kmsKeyIdentifier(String kmsKeyIdentifier)
Specifies a KMS key to use to encrypt data in the new graph.
- Parameters:
kmsKeyIdentifier- Specifies a KMS key to use to encrypt data in the new graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
CreateGraphRequest.Builder vectorSearchConfiguration(VectorSearchConfiguration 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- 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:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
default CreateGraphRequest.Builder vectorSearchConfiguration(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration)
Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified as
This is a convenience method that creates an instance of thedimension=value. Max = 65,535VectorSearchConfiguration.Builderavoiding the need to create one manually viaVectorSearchConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovectorSearchConfiguration(VectorSearchConfiguration).- Parameters:
vectorSearchConfiguration- a consumer that will call methods onVectorSearchConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vectorSearchConfiguration(VectorSearchConfiguration)
-
replicaCount
CreateGraphRequest.Builder replicaCount(Integer replicaCount)
The number of replicas in other AZs. Min =0, Max = 2, Default =1
- Parameters:
replicaCount- The number of replicas in other AZs. Min =0, Max = 2, Default =1- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
CreateGraphRequest.Builder deletionProtection(Boolean deletionProtection)
Indicates whether or not to enable deletion protection on the graph. The graph can’t be deleted when deletion protection is enabled. (
trueorfalse).- Parameters:
deletionProtection- Indicates whether or not to enable deletion protection on the graph. The graph can’t be deleted when deletion protection is enabled. (trueorfalse).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedMemory
CreateGraphRequest.Builder provisionedMemory(Integer provisionedMemory)
The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
- Parameters:
provisionedMemory- The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateGraphRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGraphRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-