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