Interface GetGremlinQueryStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGremlinQueryStatusResponse.Builder,
,GetGremlinQueryStatusResponse> NeptunedataResponse.Builder
,SdkBuilder<GetGremlinQueryStatusResponse.Builder,
,GetGremlinQueryStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGremlinQueryStatusResponse
@Mutable
@NotThreadSafe
public static interface GetGremlinQueryStatusResponse.Builder
extends NeptunedataResponse.Builder, SdkPojo, CopyableBuilder<GetGremlinQueryStatusResponse.Builder,GetGremlinQueryStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionqueryEvalStats
(Consumer<QueryEvalStats.Builder> queryEvalStats) The evaluation status of the Gremlin query.queryEvalStats
(QueryEvalStats queryEvalStats) The evaluation status of the Gremlin query.The ID of the query for which status is being returned.queryString
(String queryString) The Gremlin query string.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptunedata.model.NeptunedataResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
queryId
The ID of the query for which status is being returned.
- Parameters:
queryId
- The ID of the query for which status is being returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
The Gremlin query string.
- Parameters:
queryString
- The Gremlin query string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryEvalStats
The evaluation status of the Gremlin query.
- Parameters:
queryEvalStats
- The evaluation status of the Gremlin query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryEvalStats
default GetGremlinQueryStatusResponse.Builder queryEvalStats(Consumer<QueryEvalStats.Builder> queryEvalStats) The evaluation status of the Gremlin query.
This is a convenience method that creates an instance of theQueryEvalStats.Builder
avoiding the need to create one manually viaQueryEvalStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryEvalStats(QueryEvalStats)
.- Parameters:
queryEvalStats
- a consumer that will call methods onQueryEvalStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-