Interface GetPropertygraphStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPropertygraphStatisticsResponse.Builder,,GetPropertygraphStatisticsResponse> NeptunedataResponse.Builder,SdkBuilder<GetPropertygraphStatisticsResponse.Builder,,GetPropertygraphStatisticsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPropertygraphStatisticsResponse
public static interface GetPropertygraphStatisticsResponse.Builder
extends NeptunedataResponse.Builder, SdkPojo, CopyableBuilder<GetPropertygraphStatisticsResponse.Builder,GetPropertygraphStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpayload(Consumer<Statistics.Builder> payload) Statistics for property-graph data.payload(Statistics payload) Statistics for property-graph data.The HTTP return code of the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.neptunedata.model.NeptunedataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Statistics for property-graph data.
- Parameters:
payload- Statistics for property-graph data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Statistics for property-graph 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:
-