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