Interface TelemetryRecord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TelemetryRecord.Builder,
,TelemetryRecord> SdkBuilder<TelemetryRecord.Builder,
,TelemetryRecord> SdkPojo
- Enclosing class:
TelemetryRecord
public static interface TelemetryRecord.Builder
extends SdkPojo, CopyableBuilder<TelemetryRecord.Builder,TelemetryRecord>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TelemetryRecord.Builder
backendConnectionErrors
(Consumer<BackendConnectionErrors.Builder> backendConnectionErrors) This is a convenience method that creates an instance of theBackendConnectionErrors.Builder
avoiding the need to create one manually viaBackendConnectionErrors.builder()
.backendConnectionErrors
(BackendConnectionErrors backendConnectionErrors) segmentsReceivedCount
(Integer segmentsReceivedCount) segmentsRejectedCount
(Integer segmentsRejectedCount) segmentsSentCount
(Integer segmentsSentCount) segmentsSpilloverCount
(Integer segmentsSpilloverCount) 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, sdkFields
-
Method Details
-
timestamp
- Parameters:
timestamp
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentsReceivedCount
- Parameters:
segmentsReceivedCount
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentsSentCount
- Parameters:
segmentsSentCount
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentsSpilloverCount
- Parameters:
segmentsSpilloverCount
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentsRejectedCount
- Parameters:
segmentsRejectedCount
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backendConnectionErrors
- Parameters:
backendConnectionErrors
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backendConnectionErrors
default TelemetryRecord.Builder backendConnectionErrors(Consumer<BackendConnectionErrors.Builder> backendConnectionErrors) This is a convenience method that creates an instance of theBackendConnectionErrors.Builder
avoiding the need to create one manually viaBackendConnectionErrors.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackendConnectionErrors(BackendConnectionErrors)
.- Parameters:
backendConnectionErrors
- a consumer that will call methods onBackendConnectionErrors.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-