Class LogsPerfSpan.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.common.types.LogsPerfSpan.Builder
-
- All Implemented Interfaces:
LogsPerfSpan._FinalStage,LogsPerfSpan.LabelStage,LogsPerfSpan.StartTsStage
- Enclosing class:
- LogsPerfSpan
public static final class LogsPerfSpan.Builder extends java.lang.Object implements LogsPerfSpan.LabelStage, LogsPerfSpan.StartTsStage, LogsPerfSpan._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogsPerfSpanbuild()LogsPerfSpan._FinalStagefinishTs(java.time.OffsetDateTime finishTs)RFC3339 timestamp.LogsPerfSpan._FinalStagefinishTs(java.util.Optional<java.time.OffsetDateTime> finishTs)LogsPerfSpan.Builderfrom(LogsPerfSpan other)LogsPerfSpan.StartTsStagelabel(java.lang.String label)The label given to this performance span.LogsPerfSpan._FinalStagereqId(java.util.Optional<java.util.UUID> reqId)LogsPerfSpan._FinalStagereqId(java.util.UUID reqId)LogsPerfSpan._FinalStagestartTs(java.time.OffsetDateTime startTs)RFC3339 timestamp.
-
-
-
Method Detail
-
from
public LogsPerfSpan.Builder from(LogsPerfSpan other)
- Specified by:
fromin interfaceLogsPerfSpan.LabelStage
-
label
public LogsPerfSpan.StartTsStage label(java.lang.String label)
The label given to this performance span.
- Specified by:
labelin interfaceLogsPerfSpan.LabelStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startTs
public LogsPerfSpan._FinalStage startTs(java.time.OffsetDateTime startTs)
RFC3339 timestamp.
- Specified by:
startTsin interfaceLogsPerfSpan.StartTsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
reqId
public LogsPerfSpan._FinalStage reqId(java.util.UUID reqId)
- Specified by:
reqIdin interfaceLogsPerfSpan._FinalStage
-
reqId
public LogsPerfSpan._FinalStage reqId(java.util.Optional<java.util.UUID> reqId)
- Specified by:
reqIdin interfaceLogsPerfSpan._FinalStage
-
finishTs
public LogsPerfSpan._FinalStage finishTs(java.time.OffsetDateTime finishTs)
RFC3339 timestamp.
- Specified by:
finishTsin interfaceLogsPerfSpan._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
finishTs
public LogsPerfSpan._FinalStage finishTs(java.util.Optional<java.time.OffsetDateTime> finishTs)
- Specified by:
finishTsin interfaceLogsPerfSpan._FinalStage
-
build
public LogsPerfSpan build()
- Specified by:
buildin interfaceLogsPerfSpan._FinalStage
-
-