Interface ComputeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeConfiguration.Builder,,ComputeConfiguration> SdkBuilder<ComputeConfiguration.Builder,,ComputeConfiguration> SdkPojo
- Enclosing class:
ComputeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ComputeConfiguration.BuildergraphSession(Consumer<GraphSessionConfiguration.Builder> graphSession) Configuration for a graph session.graphSession(GraphSessionConfiguration graphSession) Configuration for a graph session.default ComputeConfiguration.BuilderprovisionedGraph(Consumer<ProvisionedGraphConfiguration.Builder> provisionedGraph) Configuration for a provisioned graph.provisionedGraph(ProvisionedGraphConfiguration provisionedGraph) Configuration for a provisioned graph.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
provisionedGraph
Configuration for a provisioned graph. A provisioned graph uses dedicated compute that is always available. Use provisioned graphs for workloads that require higher memory or predictable latency.
- Parameters:
provisionedGraph- Configuration for a provisioned graph. A provisioned graph uses dedicated compute that is always available. Use provisioned graphs for workloads that require higher memory or predictable latency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedGraph
default ComputeConfiguration.Builder provisionedGraph(Consumer<ProvisionedGraphConfiguration.Builder> provisionedGraph) Configuration for a provisioned graph. A provisioned graph uses dedicated compute that is always available. Use provisioned graphs for workloads that require higher memory or predictable latency.
This is a convenience method that creates an instance of theProvisionedGraphConfiguration.Builderavoiding the need to create one manually viaProvisionedGraphConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovisionedGraph(ProvisionedGraphConfiguration).- Parameters:
provisionedGraph- a consumer that will call methods onProvisionedGraphConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
graphSession
Configuration for a graph session. A graph session uses ephemeral compute that is bootstrapped when a query is sent to the graph. The compute is automatically stopped after a few minutes with no traffic; the next query bootstraps the compute again. Queries that bootstrap the compute are subject to cold start latency.
- Parameters:
graphSession- Configuration for a graph session. A graph session uses ephemeral compute that is bootstrapped when a query is sent to the graph. The compute is automatically stopped after a few minutes with no traffic; the next query bootstraps the compute again. Queries that bootstrap the compute are subject to cold start latency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graphSession
default ComputeConfiguration.Builder graphSession(Consumer<GraphSessionConfiguration.Builder> graphSession) Configuration for a graph session. A graph session uses ephemeral compute that is bootstrapped when a query is sent to the graph. The compute is automatically stopped after a few minutes with no traffic; the next query bootstraps the compute again. Queries that bootstrap the compute are subject to cold start latency.
This is a convenience method that creates an instance of theGraphSessionConfiguration.Builderavoiding the need to create one manually viaGraphSessionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tographSession(GraphSessionConfiguration).- Parameters:
graphSession- a consumer that will call methods onGraphSessionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-