Interface DeletePropertygraphStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeletePropertygraphStatisticsResponse.Builder,
,DeletePropertygraphStatisticsResponse> NeptunedataResponse.Builder
,SdkBuilder<DeletePropertygraphStatisticsResponse.Builder,
,DeletePropertygraphStatisticsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeletePropertygraphStatisticsResponse
@Mutable
@NotThreadSafe
public static interface DeletePropertygraphStatisticsResponse.Builder
extends NeptunedataResponse.Builder, SdkPojo, CopyableBuilder<DeletePropertygraphStatisticsResponse.Builder,DeletePropertygraphStatisticsResponse>
-
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
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
-
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 DeletePropertygraphStatisticsResponse.Builder payload(Consumer<DeleteStatisticsValueMap.Builder> payload) The deletion payload.
This is a convenience method that creates an instance of theDeleteStatisticsValueMap.Builder
avoiding the need to create one manually viaDeleteStatisticsValueMap.builder()
.When the
Consumer
completes,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:
-