Class LogsPerfMark.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.common.types.LogsPerfMark.Builder
-
- All Implemented Interfaces:
LogsPerfMark._FinalStage,LogsPerfMark.LabelStage,LogsPerfMark.TsStage
- Enclosing class:
- LogsPerfMark
public static final class LogsPerfMark.Builder extends java.lang.Object implements LogsPerfMark.LabelStage, LogsPerfMark.TsStage, LogsPerfMark._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogsPerfMarkbuild()LogsPerfMark.Builderfrom(LogsPerfMark other)LogsPerfMark.TsStagelabel(java.lang.String label)The label given to this performance mark.LogsPerfMark._FinalStagerayId(java.util.Optional<java.util.UUID> rayId)LogsPerfMark._FinalStagerayId(java.util.UUID rayId)LogsPerfMark._FinalStagereqId(java.util.Optional<java.util.UUID> reqId)LogsPerfMark._FinalStagereqId(java.util.UUID reqId)LogsPerfMark._FinalStagets(java.time.OffsetDateTime ts)RFC3339 timestamp.
-
-
-
Method Detail
-
from
public LogsPerfMark.Builder from(LogsPerfMark other)
- Specified by:
fromin interfaceLogsPerfMark.LabelStage
-
label
public LogsPerfMark.TsStage label(java.lang.String label)
The label given to this performance mark.
- Specified by:
labelin interfaceLogsPerfMark.LabelStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ts
public LogsPerfMark._FinalStage ts(java.time.OffsetDateTime ts)
RFC3339 timestamp.
- Specified by:
tsin interfaceLogsPerfMark.TsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
reqId
public LogsPerfMark._FinalStage reqId(java.util.UUID reqId)
- Specified by:
reqIdin interfaceLogsPerfMark._FinalStage
-
reqId
public LogsPerfMark._FinalStage reqId(java.util.Optional<java.util.UUID> reqId)
- Specified by:
reqIdin interfaceLogsPerfMark._FinalStage
-
rayId
public LogsPerfMark._FinalStage rayId(java.util.UUID rayId)
- Specified by:
rayIdin interfaceLogsPerfMark._FinalStage
-
rayId
public LogsPerfMark._FinalStage rayId(java.util.Optional<java.util.UUID> rayId)
- Specified by:
rayIdin interfaceLogsPerfMark._FinalStage
-
build
public LogsPerfMark build()
- Specified by:
buildin interfaceLogsPerfMark._FinalStage
-
-