Package com.oracle.bmc.oda.model
Class CreateAndroidChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateAndroidChannelResult.Builder
-
- Enclosing class:
- CreateAndroidChannelResult
public static class CreateAndroidChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateAndroidChannelResult.Builder id(String id)
-
name
public CreateAndroidChannelResult.Builder name(String name)
-
description
public CreateAndroidChannelResult.Builder description(String description)
-
category
public CreateAndroidChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateAndroidChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateAndroidChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateAndroidChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateAndroidChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateAndroidChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateAndroidChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
secretKey
public CreateAndroidChannelResult.Builder secretKey(String secretKey)
The secret key used to verify the authenticity of received messages.This is only returned this once. If it is lost the keys will need to be rotated to generate a new key.
- Parameters:
secretKey
- the value to set- Returns:
- this builder
-
maxTokenExpirationTimeInMinutes
public CreateAndroidChannelResult.Builder maxTokenExpirationTimeInMinutes(Long maxTokenExpirationTimeInMinutes)
The maximum time until the token expires (in minutes).- Parameters:
maxTokenExpirationTimeInMinutes
- the value to set- Returns:
- this builder
-
isClientAuthenticationEnabled
public CreateAndroidChannelResult.Builder isClientAuthenticationEnabled(Boolean isClientAuthenticationEnabled)
Whether client authentication is enabled or not.- Parameters:
isClientAuthenticationEnabled
- the value to set- Returns:
- this builder
-
botId
public CreateAndroidChannelResult.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.- Parameters:
botId
- the value to set- Returns:
- this builder
-
build
public CreateAndroidChannelResult build()
-
copy
public CreateAndroidChannelResult.Builder copy(CreateAndroidChannelResult model)
-
-