public static interface TelemetryRecord.Builder extends CopyableBuilder<TelemetryRecord.Builder,TelemetryRecord>
Modifier and Type | Method and Description |
---|---|
TelemetryRecord.Builder |
backendConnectionErrors(BackendConnectionErrors backendConnectionErrors)
|
default TelemetryRecord.Builder |
backendConnectionErrors(Consumer<BackendConnectionErrors.Builder> backendConnectionErrors)
This is a convenience that creates an instance of the
BackendConnectionErrors.Builder avoiding the
need to create one manually via BackendConnectionErrors.builder() . |
TelemetryRecord.Builder |
segmentsReceivedCount(Integer segmentsReceivedCount)
|
TelemetryRecord.Builder |
segmentsRejectedCount(Integer segmentsRejectedCount)
|
TelemetryRecord.Builder |
segmentsSentCount(Integer segmentsSentCount)
|
TelemetryRecord.Builder |
segmentsSpilloverCount(Integer segmentsSpilloverCount)
|
TelemetryRecord.Builder |
timestamp(Instant timestamp)
|
copy
applyMutation, build
TelemetryRecord.Builder timestamp(Instant timestamp)
timestamp
- TelemetryRecord.Builder segmentsReceivedCount(Integer segmentsReceivedCount)
segmentsReceivedCount
- TelemetryRecord.Builder segmentsSentCount(Integer segmentsSentCount)
segmentsSentCount
- TelemetryRecord.Builder segmentsSpilloverCount(Integer segmentsSpilloverCount)
segmentsSpilloverCount
- TelemetryRecord.Builder segmentsRejectedCount(Integer segmentsRejectedCount)
segmentsRejectedCount
- TelemetryRecord.Builder backendConnectionErrors(BackendConnectionErrors backendConnectionErrors)
backendConnectionErrors
- default TelemetryRecord.Builder backendConnectionErrors(Consumer<BackendConnectionErrors.Builder> backendConnectionErrors)
BackendConnectionErrors.Builder
avoiding the
need to create one manually via BackendConnectionErrors.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to backendConnectionErrors(BackendConnectionErrors)
.backendConnectionErrors
- a consumer that will call methods on BackendConnectionErrors.Builder
backendConnectionErrors(BackendConnectionErrors)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.