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 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

      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 the VectorSearchConfiguration.Builder avoiding the need to create one manually via VectorSearchConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vectorSearchConfiguration(VectorSearchConfiguration).

      Parameters:
      vectorSearchConfiguration - a consumer that will call methods on VectorSearchConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.