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