Class SessionWithTraces.Builder
java.lang.Object
com.ants.platform.client.resources.commons.types.SessionWithTraces.Builder
- All Implemented Interfaces:
SessionWithTraces._FinalStage,SessionWithTraces.CreatedAtStage,SessionWithTraces.IdStage,SessionWithTraces.ProjectIdStage
- Enclosing class:
SessionWithTraces
public static final class SessionWithTraces.Builder
extends Object
implements SessionWithTraces.IdStage, SessionWithTraces.CreatedAtStage, SessionWithTraces.ProjectIdStage, SessionWithTraces._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTraces(List<Trace> traces) build()createdAt(OffsetDateTime createdAt) environment(String environment) The environment from which this session originated.environment(Optional<String> environment) from(SessionWithTraces other)
-
Method Details
-
from
- Specified by:
fromin interfaceSessionWithTraces.IdStage
-
id
- Specified by:
idin interfaceSessionWithTraces.IdStage
-
createdAt
- Specified by:
createdAtin interfaceSessionWithTraces.CreatedAtStage
-
projectId
- Specified by:
projectIdin interfaceSessionWithTraces.ProjectIdStage
-
addAllTraces
- Specified by:
addAllTracesin interfaceSessionWithTraces._FinalStage
-
addTraces
- Specified by:
addTracesin interfaceSessionWithTraces._FinalStage
-
traces
- Specified by:
tracesin interfaceSessionWithTraces._FinalStage
-
environment
The environment from which this session originated.
- Specified by:
environmentin interfaceSessionWithTraces._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
environment
- Specified by:
environmentin interfaceSessionWithTraces._FinalStage
-
build
- Specified by:
buildin interfaceSessionWithTraces._FinalStage
-