public static class AndroidChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public AndroidChannel.Builder id(String id)
public AndroidChannel.Builder name(String name)
public AndroidChannel.Builder description(String description)
public AndroidChannel.Builder category(ChannelCategory category)
public AndroidChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public AndroidChannel.Builder lifecycleState(LifecycleState lifecycleState)
public AndroidChannel.Builder timeCreated(Date timeCreated)
public AndroidChannel.Builder timeUpdated(Date timeUpdated)
public AndroidChannel.Builder freeformTags(Map<String,String> freeformTags)
public AndroidChannel.Builder maxTokenExpirationTimeInMinutes(Long maxTokenExpirationTimeInMinutes)
The maximum time until the token expires (in minutes).
maxTokenExpirationTimeInMinutes
- the value to setpublic AndroidChannel.Builder isClientAuthenticationEnabled(Boolean isClientAuthenticationEnabled)
Whether client authentication is enabled or not.
isClientAuthenticationEnabled
- the value to setpublic AndroidChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic AndroidChannel build()
public AndroidChannel.Builder copy(AndroidChannel model)
Copyright © 2016–2024. All rights reserved.