Interface GetSparqlStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSparqlStatisticsResponse.Builder,
,GetSparqlStatisticsResponse> NeptunedataResponse.Builder
,SdkBuilder<GetSparqlStatisticsResponse.Builder,
,GetSparqlStatisticsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSparqlStatisticsResponse
-
Method Summary
Modifier and TypeMethodDescriptionpayload
(Consumer<Statistics.Builder> payload) Statistics for RDF data.payload
(Statistics payload) Statistics for RDF data.The HTTP return code of the request.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
-
status
The HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStatisticsStatus IAM action in that cluster.
- Parameters:
status
- The HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStatisticsStatus IAM action in that cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Statistics for RDF data.
- Parameters:
payload
- Statistics for RDF data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Statistics for RDF data.
This is a convenience method that creates an instance of theStatistics.Builder
avoiding the need to create one manually viaStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topayload(Statistics)
.- Parameters:
payload
- a consumer that will call methods onStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-