Interface WriteRecordsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<WriteRecordsResponse.Builder,WriteRecordsResponse>,SdkBuilder<WriteRecordsResponse.Builder,WriteRecordsResponse>,SdkPojo,SdkResponse.Builder,TimestreamWriteResponse.Builder
- Enclosing class:
- WriteRecordsResponse
public static interface WriteRecordsResponse.Builder extends TimestreamWriteResponse.Builder, SdkPojo, CopyableBuilder<WriteRecordsResponse.Builder,WriteRecordsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default WriteRecordsResponse.BuilderrecordsIngested(Consumer<RecordsIngested.Builder> recordsIngested)Information on the records ingested by this request.WriteRecordsResponse.BuilderrecordsIngested(RecordsIngested recordsIngested)Information on the records ingested by this request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.timestreamwrite.model.TimestreamWriteResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
recordsIngested
WriteRecordsResponse.Builder recordsIngested(RecordsIngested recordsIngested)
Information on the records ingested by this request.
- Parameters:
recordsIngested- Information on the records ingested by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordsIngested
default WriteRecordsResponse.Builder recordsIngested(Consumer<RecordsIngested.Builder> recordsIngested)
Information on the records ingested by this request.
This is a convenience method that creates an instance of theRecordsIngested.Builderavoiding the need to create one manually viaRecordsIngested.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecordsIngested(RecordsIngested).- Parameters:
recordsIngested- a consumer that will call methods onRecordsIngested.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
recordsIngested(RecordsIngested)
-
-