Class InteractionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.operatoraccesscontrol.model.InteractionSummary.Builder
-
- Enclosing class:
- InteractionSummary
public static class InteractionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InteractionSummarybuild()InteractionSummary.Buildercopy(InteractionSummary model)InteractionSummary.Builderid(String id)The uniqueId of the message.InteractionSummary.Buildermessage(String message)contains the information exchanged between operator and customer.InteractionSummary.BuildertimeOfConversation(Date timeOfConversation)Time when the conversation happened in RFC 3339timestamp format.InteractionSummary.BuilderuserId(String userId)customer or operator id who is part of this conversation.InteractionSummary.BuilderuserName(String userName)customer or operator Name who is part of this conversation.InteractionSummary.BuilderuserType(String userType)Whether the userConversation is an operator or customer.
-
-
-
Method Detail
-
id
public InteractionSummary.Builder id(String id)
The uniqueId of the message.- Parameters:
id- the value to set- Returns:
- this builder
-
userId
public InteractionSummary.Builder userId(String userId)
customer or operator id who is part of this conversation.- Parameters:
userId- the value to set- Returns:
- this builder
-
userName
public InteractionSummary.Builder userName(String userName)
customer or operator Name who is part of this conversation.- Parameters:
userName- the value to set- Returns:
- this builder
-
message
public InteractionSummary.Builder message(String message)
contains the information exchanged between operator and customer.- Parameters:
message- the value to set- Returns:
- this builder
-
userType
public InteractionSummary.Builder userType(String userType)
Whether the userConversation is an operator or customer.- Parameters:
userType- the value to set- Returns:
- this builder
-
timeOfConversation
public InteractionSummary.Builder timeOfConversation(Date timeOfConversation)
Time when the conversation happened in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Parameters:
timeOfConversation- the value to set- Returns:
- this builder
-
build
public InteractionSummary build()
-
copy
public InteractionSummary.Builder copy(InteractionSummary model)
-
-