Interface GetGraphResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGraphResponse.Builder,GetGraphResponse>,NeptuneGraphResponse.Builder,SdkBuilder<GetGraphResponse.Builder,GetGraphResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetGraphResponse
public static interface GetGraphResponse.Builder extends NeptuneGraphResponse.Builder, SdkPojo, CopyableBuilder<GetGraphResponse.Builder,GetGraphResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetGraphResponse.Builderarn(String arn)The ARN associated with the graph.GetGraphResponse.BuilderbuildNumber(String buildNumber)The build number of the graph.GetGraphResponse.BuildercreateTime(Instant createTime)The time at which the graph was created.GetGraphResponse.BuilderdeletionProtection(Boolean deletionProtection)Iftrue, deletion protection is enabled for the graph.GetGraphResponse.Builderendpoint(String endpoint)The graph endpoint.GetGraphResponse.Builderid(String id)The unique identifier of the graph.GetGraphResponse.BuilderkmsKeyIdentifier(String kmsKeyIdentifier)The ID of the KMS key used to encrypt and decrypt graph data.GetGraphResponse.Buildername(String name)The name of the graph.GetGraphResponse.BuilderprovisionedMemory(Integer provisionedMemory)The number of memory-optimized Neptune Capacity Units (m-NCUs) allocated to the graph.GetGraphResponse.BuilderpublicConnectivity(Boolean publicConnectivity)Iftrue, the graph has a public endpoint, otherwise not.GetGraphResponse.BuilderreplicaCount(Integer replicaCount)The number of replicas for the graph.GetGraphResponse.BuildersourceSnapshotId(String sourceSnapshotId)The ID of the snapshot from which the graph was created, if it was created from a snapshot.GetGraphResponse.Builderstatus(String status)The status of the graph.GetGraphResponse.Builderstatus(GraphStatus status)The status of the graph.GetGraphResponse.BuilderstatusReason(String statusReason)The reason that the graph has this status.default GetGraphResponse.BuildervectorSearchConfiguration(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration)Sets the value of the VectorSearchConfiguration property for this object.GetGraphResponse.BuildervectorSearchConfiguration(VectorSearchConfiguration vectorSearchConfiguration)Sets the value of the VectorSearchConfiguration property for this object.-
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
GetGraphResponse.Builder id(String id)
The unique identifier of the graph.
- Parameters:
id- The unique identifier of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetGraphResponse.Builder name(String name)
The name of the graph.
- Parameters:
name- The name of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
GetGraphResponse.Builder arn(String arn)
The ARN associated with the graph.
- Parameters:
arn- The ARN associated with the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetGraphResponse.Builder status(String status)
The status of the graph.
- Parameters:
status- The status of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GraphStatus,GraphStatus
-
status
GetGraphResponse.Builder status(GraphStatus status)
The status of the graph.
- Parameters:
status- The status of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GraphStatus,GraphStatus
-
statusReason
GetGraphResponse.Builder statusReason(String statusReason)
The reason that the graph has this status.
- Parameters:
statusReason- The reason that the graph has this status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
GetGraphResponse.Builder createTime(Instant createTime)
The time at which the graph was created.
- Parameters:
createTime- The time at which the graph was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedMemory
GetGraphResponse.Builder provisionedMemory(Integer provisionedMemory)
The number of memory-optimized Neptune Capacity Units (m-NCUs) allocated to the graph.
- Parameters:
provisionedMemory- The number of memory-optimized Neptune Capacity Units (m-NCUs) allocated to the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
GetGraphResponse.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
GetGraphResponse.Builder publicConnectivity(Boolean publicConnectivity)
If
true, the graph has a public endpoint, otherwise not.- Parameters:
publicConnectivity- Iftrue, the graph has a public endpoint, otherwise not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
GetGraphResponse.Builder vectorSearchConfiguration(VectorSearchConfiguration vectorSearchConfiguration)
Sets the value of the VectorSearchConfiguration property for this object.- Parameters:
vectorSearchConfiguration- The new value for the VectorSearchConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorSearchConfiguration
default GetGraphResponse.Builder vectorSearchConfiguration(Consumer<VectorSearchConfiguration.Builder> vectorSearchConfiguration)
Sets the value of the VectorSearchConfiguration property for this object. 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
GetGraphResponse.Builder replicaCount(Integer replicaCount)
The number of replicas for the graph.
- Parameters:
replicaCount- The number of replicas for the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
GetGraphResponse.Builder kmsKeyIdentifier(String kmsKeyIdentifier)
The ID of the KMS key used to encrypt and decrypt graph data.
- Parameters:
kmsKeyIdentifier- The ID of the KMS key used to encrypt and decrypt graph data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSnapshotId
GetGraphResponse.Builder sourceSnapshotId(String sourceSnapshotId)
The ID of the snapshot from which the graph was created, if it was created from a snapshot.
- Parameters:
sourceSnapshotId- The ID of the snapshot from which the graph was created, if it was created from a snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
GetGraphResponse.Builder deletionProtection(Boolean deletionProtection)
If
true, deletion protection is enabled for the graph.- Parameters:
deletionProtection- Iftrue, deletion protection is enabled for the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildNumber
GetGraphResponse.Builder buildNumber(String buildNumber)
The build number of the graph.
- Parameters:
buildNumber- The build number of the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-