Class KikChannelProperties
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.KikChannelProperties
-
public final class KikChannelProperties extends Object
The parameters to provide for the Kik channel.
-
-
Constructor Summary
Constructors Constructor Description KikChannelProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apiKey()
Get the apiKey property: Kik API key.boolean
isEnabled()
Get the isEnabled property: Whether this channel is enabled for the bot.Boolean
isValidated()
Get the isValidated property: Whether this channel is validated for the bot.String
username()
Get the username property: The Kik user name.void
validate()
Validates the instance.KikChannelProperties
withApiKey(String apiKey)
Set the apiKey property: Kik API key.KikChannelProperties
withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this channel is enabled for the bot.KikChannelProperties
withIsValidated(Boolean isValidated)
Set the isValidated property: Whether this channel is validated for the bot.KikChannelProperties
withUsername(String username)
Set the username property: The Kik user name.
-
-
-
Method Detail
-
username
public String username()
Get the username property: The Kik user name.- Returns:
- the username value.
-
withUsername
public KikChannelProperties withUsername(String username)
Set the username property: The Kik user name.- Parameters:
username
- the username value to set.- Returns:
- the KikChannelProperties object itself.
-
apiKey
public String apiKey()
Get the apiKey property: Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.- Returns:
- the apiKey value.
-
withApiKey
public KikChannelProperties withApiKey(String apiKey)
Set the apiKey property: Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.- Parameters:
apiKey
- the apiKey value to set.- Returns:
- the KikChannelProperties object itself.
-
isValidated
public Boolean isValidated()
Get the isValidated property: Whether this channel is validated for the bot.- Returns:
- the isValidated value.
-
withIsValidated
public KikChannelProperties withIsValidated(Boolean isValidated)
Set the isValidated property: Whether this channel is validated for the bot.- Parameters:
isValidated
- the isValidated value to set.- Returns:
- the KikChannelProperties object itself.
-
isEnabled
public boolean isEnabled()
Get the isEnabled property: Whether this channel is enabled for the bot.- Returns:
- the isEnabled value.
-
withIsEnabled
public KikChannelProperties withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this channel is enabled for the bot.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the KikChannelProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-