Interface DeleteSparqlStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteSparqlStatisticsResponse.Builder,,DeleteSparqlStatisticsResponse> NeptunedataResponse.Builder,SdkBuilder<DeleteSparqlStatisticsResponse.Builder,,DeleteSparqlStatisticsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteSparqlStatisticsResponse
public static interface DeleteSparqlStatisticsResponse.Builder
extends NeptunedataResponse.Builder, SdkPojo, CopyableBuilder<DeleteSparqlStatisticsResponse.Builder,DeleteSparqlStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpayload(Consumer<DeleteStatisticsValueMap.Builder> payload) The deletion payload.payload(DeleteStatisticsValueMap payload) The deletion payload.The cancel status.statusCode(Integer statusCodeValue) The HTTP response code: 200 if the delete was successful, or 204 if there were no statistics to delete.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
-
statusCode
The HTTP response code: 200 if the delete was successful, or 204 if there were no statistics to delete.
- Parameters:
statusCodeValue- The HTTP response code: 200 if the delete was successful, or 204 if there were no statistics to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The cancel status.
- Parameters:
status- The cancel status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The deletion payload.
- Parameters:
payload- The deletion payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default DeleteSparqlStatisticsResponse.Builder payload(Consumer<DeleteStatisticsValueMap.Builder> payload) The deletion payload.
This is a convenience method that creates an instance of theDeleteStatisticsValueMap.Builderavoiding the need to create one manually viaDeleteStatisticsValueMap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(DeleteStatisticsValueMap).- Parameters:
payload- a consumer that will call methods onDeleteStatisticsValueMap.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-