Interface CreateGraphResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateGraphResponse.Builder,
,CreateGraphResponse> NeptuneGraphResponse.Builder
,SdkBuilder<CreateGraphResponse.Builder,
,CreateGraphResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateGraphResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the graph.buildNumber
(String buildNumber) The build number of the graph software.createTime
(Instant createTime) The time when the graph was created.deletionProtection
(Boolean deletionProtection) A value that indicates whether the graph has deletion protection enabled.The graph endpoint.The ID of the graph.kmsKeyIdentifier
(String kmsKeyIdentifier) Specifies the KMS key used to encrypt data in the new graph.The graph name.provisionedMemory
(Integer provisionedMemory) The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.publicConnectivity
(Boolean publicConnectivity) Specifies whether or not the graph can be reachable over the internet.replicaCount
(Integer replicaCount) The number of replicas in other AZs.sourceSnapshotId
(String sourceSnapshotId) The ID of the source graph.The current status of the graph.status
(GraphStatus status) The current status of the graph.statusReason
(String statusReason) The reason the status was given.default CreateGraphResponse.Builder
vectorSearchConfiguration
(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration) The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.vectorSearchConfiguration
(VectorSearchConfiguration vectorSearchConfiguration) The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The ID of the graph.
- Parameters:
id
- The ID of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
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.
- Parameters:
name
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the graph.
- Parameters:
arn
- The ARN of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the graph.
- Parameters:
status
- The current status of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the graph.
- Parameters:
status
- The current status of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The reason the status was given.
- Parameters:
statusReason
- The reason the status was given.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time when the graph was created.
- Parameters:
createTime
- The time when the graph was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
endpoint
The graph endpoint.
- Parameters:
endpoint
- The graph endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicConnectivity
Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.
If enabling public connectivity for the first time, there will be a delay while it is enabled.
- Parameters:
publicConnectivity
- Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.If enabling public connectivity for the first time, there will be a delay while it is enabled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
CreateGraphResponse.Builder vectorSearchConfiguration(VectorSearchConfiguration vectorSearchConfiguration) The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.
- Parameters:
vectorSearchConfiguration
- The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
default CreateGraphResponse.Builder vectorSearchConfiguration(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration) The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.
This is a convenience method that creates an instance of theVectorSearchConfiguration.Builder
avoiding the need to create one manually viaVectorSearchConfiguration.builder()
.When the
Consumer
completes,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:
-
replicaCount
The number of replicas in other AZs.
Default: If not specified, the default value is 1.
- Parameters:
replicaCount
- The number of replicas in other AZs.Default: If not specified, the default value is 1.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
Specifies the KMS key used to encrypt data in the new graph.
- Parameters:
kmsKeyIdentifier
- Specifies the KMS key used to encrypt data in the new graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSnapshotId
The ID of the source graph.
- Parameters:
sourceSnapshotId
- The ID of the source graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
buildNumber
The build number of the graph software.
- Parameters:
buildNumber
- The build number of the graph software.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-