Interface CreateGraphResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGraphResponse.Builder,CreateGraphResponse>,NeptuneGraphResponse.Builder,SdkBuilder<CreateGraphResponse.Builder,CreateGraphResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateGraphResponse
public static interface CreateGraphResponse.Builder extends NeptuneGraphResponse.Builder, SdkPojo, CopyableBuilder<CreateGraphResponse.Builder,CreateGraphResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateGraphResponse.Builderarn(String arn)The ARN of the graph.CreateGraphResponse.BuilderbuildNumber(String buildNumber)The build number of the graph software.CreateGraphResponse.BuildercreateTime(Instant createTime)The time when the graph was created.CreateGraphResponse.BuilderdeletionProtection(Boolean deletionProtection)A value that indicates whether the graph has deletion protection enabled.CreateGraphResponse.Builderendpoint(String endpoint)The graph endpoint.CreateGraphResponse.Builderid(String id)The ID of the graph.CreateGraphResponse.BuilderkmsKeyIdentifier(String kmsKeyIdentifier)Specifies the KMS key used to encrypt data in the new graph.CreateGraphResponse.Buildername(String name)The graph name.CreateGraphResponse.BuilderprovisionedMemory(Integer provisionedMemory)The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.CreateGraphResponse.BuilderpublicConnectivity(Boolean publicConnectivity)Specifies whether or not the graph can be reachable over the internet.CreateGraphResponse.BuilderreplicaCount(Integer replicaCount)The number of replicas in other AZs.CreateGraphResponse.BuildersourceSnapshotId(String sourceSnapshotId)The ID of the source graph.CreateGraphResponse.Builderstatus(String status)The current status of the graph.CreateGraphResponse.Builderstatus(GraphStatus status)The current status of the graph.CreateGraphResponse.BuilderstatusReason(String statusReason)The reason the status was given.default CreateGraphResponse.BuildervectorSearchConfiguration(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration)The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.CreateGraphResponse.BuildervectorSearchConfiguration(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 Detail
-
id
CreateGraphResponse.Builder id(String 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
CreateGraphResponse.Builder name(String 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
CreateGraphResponse.Builder arn(String 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
CreateGraphResponse.Builder status(String 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:
GraphStatus,GraphStatus
-
status
CreateGraphResponse.Builder status(GraphStatus 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:
GraphStatus,GraphStatus
-
statusReason
CreateGraphResponse.Builder statusReason(String 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
CreateGraphResponse.Builder createTime(Instant 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
CreateGraphResponse.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.
-
endpoint
CreateGraphResponse.Builder endpoint(String 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
CreateGraphResponse.Builder publicConnectivity(Boolean 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.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
CreateGraphResponse.Builder replicaCount(Integer 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
CreateGraphResponse.Builder kmsKeyIdentifier(String 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
CreateGraphResponse.Builder sourceSnapshotId(String 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
CreateGraphResponse.Builder deletionProtection(Boolean 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
CreateGraphResponse.Builder buildNumber(String 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.
-
-