Class MessageContextGlobalSystem.Builder
java.lang.Object
com.ibm.watson.assistant.v2.model.MessageContextGlobalSystem.Builder
- Enclosing class:
- MessageContextGlobalSystem
public static class MessageContextGlobalSystem.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description MessageContextGlobalSystem
build()
Builds a MessageContextGlobalSystem.MessageContextGlobalSystem.Builder
locale(String locale)
Set the locale.MessageContextGlobalSystem.Builder
referenceTime(String referenceTime)
Set the referenceTime.MessageContextGlobalSystem.Builder
sessionStartTime(String sessionStartTime)
Set the sessionStartTime.MessageContextGlobalSystem.Builder
state(String state)
Set the state.MessageContextGlobalSystem.Builder
timezone(String timezone)
Set the timezone.MessageContextGlobalSystem.Builder
turnCount(long turnCount)
Set the turnCount.MessageContextGlobalSystem.Builder
userId(String userId)
Set the userId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a MessageContextGlobalSystem.- Returns:
- the new MessageContextGlobalSystem instance
-
timezone
Set the timezone.- Parameters:
timezone
- the timezone- Returns:
- the MessageContextGlobalSystem builder
-
userId
Set the userId.- Parameters:
userId
- the userId- Returns:
- the MessageContextGlobalSystem builder
-
turnCount
Set the turnCount.- Parameters:
turnCount
- the turnCount- Returns:
- the MessageContextGlobalSystem builder
-
locale
Set the locale.- Parameters:
locale
- the locale- Returns:
- the MessageContextGlobalSystem builder
-
referenceTime
Set the referenceTime.- Parameters:
referenceTime
- the referenceTime- Returns:
- the MessageContextGlobalSystem builder
-
sessionStartTime
Set the sessionStartTime.- Parameters:
sessionStartTime
- the sessionStartTime- Returns:
- the MessageContextGlobalSystem builder
-
state
Set the state.- Parameters:
state
- the state- Returns:
- the MessageContextGlobalSystem builder
-