Interface GetSparqlStatisticsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSparqlStatisticsResponse.Builder,GetSparqlStatisticsResponse>,NeptunedataResponse.Builder,SdkBuilder<GetSparqlStatisticsResponse.Builder,GetSparqlStatisticsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSparqlStatisticsResponse
public static interface GetSparqlStatisticsResponse.Builder extends NeptunedataResponse.Builder, SdkPojo, CopyableBuilder<GetSparqlStatisticsResponse.Builder,GetSparqlStatisticsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSparqlStatisticsResponse.Builderpayload(Consumer<Statistics.Builder> payload)Statistics for RDF data.GetSparqlStatisticsResponse.Builderpayload(Statistics payload)Statistics for RDF data.GetSparqlStatisticsResponse.Builderstatus(String status)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 Detail
-
status
GetSparqlStatisticsResponse.Builder status(String 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
GetSparqlStatisticsResponse.Builder payload(Statistics 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
default GetSparqlStatisticsResponse.Builder payload(Consumer<Statistics.Builder> payload)
Statistics for RDF data.
This is a convenience method that creates an instance of theStatistics.Builderavoiding the need to create one manually viaStatistics.builder().When the
Consumercompletes,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:
payload(Statistics)
-
-