Class SessionBegins.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.realtime.types.SessionBegins.Builder
-
- All Implemented Interfaces:
SessionBegins._FinalStage,SessionBegins.ExpiresAtStage,SessionBegins.SessionIdStage
- Enclosing class:
- SessionBegins
public static final class SessionBegins.Builder extends java.lang.Object implements SessionBegins.SessionIdStage, SessionBegins.ExpiresAtStage, SessionBegins._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionBeginsbuild()SessionBegins._FinalStageexpiresAt(java.time.OffsetDateTime expiresAt)Timestamp when this session will expireSessionBegins.Builderfrom(SessionBegins other)SessionBegins.ExpiresAtStagesessionId(java.lang.String sessionId)Unique identifier for the established session
-
-
-
Method Detail
-
from
public SessionBegins.Builder from(SessionBegins other)
- Specified by:
fromin interfaceSessionBegins.SessionIdStage
-
sessionId
public SessionBegins.ExpiresAtStage sessionId(java.lang.String sessionId)
Unique identifier for the established session
- Specified by:
sessionIdin interfaceSessionBegins.SessionIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
expiresAt
public SessionBegins._FinalStage expiresAt(java.time.OffsetDateTime expiresAt)
Timestamp when this session will expire
- Specified by:
expiresAtin interfaceSessionBegins.ExpiresAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public SessionBegins build()
- Specified by:
buildin interfaceSessionBegins._FinalStage
-
-