Interface SuccessResponse.Builder
- All Known Subinterfaces:
MediaSessionUpsertResponse.Builder
- Enclosing interface:
- SuccessResponse
public static interface SuccessResponse.Builder
Builder interface for creating immutable
SuccessResponse instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theSuccessResponseinstance.mediaSessionId(String mediaSessionId) Sets the session ID associated with the success response.sessionState(SessionState sessionState) Sets the session state associated with the success response.
-
Method Details
-
mediaSessionId
Sets the session ID associated with the success response.- Parameters:
mediaSessionId- the session ID.- Returns:
- this Builder instance.
-
sessionState
Sets the session state associated with the success response.- Parameters:
sessionState- the session state.- Returns:
- this Builder instance.
-
build
SuccessResponse build()Builds theSuccessResponseinstance.- Returns:
- an immutable
SuccessResponseinstance.
-