Class SmsChannelProperties
java.lang.Object
com.azure.resourcemanager.botservice.models.SmsChannelProperties
The parameters to provide for the Sms channel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accountSid property: The Sms account SID.Get the authToken property: The Sms auth token.boolean
Get the isEnabled property: Whether this channel is enabled for the bot.Get the isValidated property: Whether this channel is validated for the bot.phone()
Get the phone property: The Sms phone.void
validate()
Validates the instance.withAccountSid
(String accountSid) Set the accountSid property: The Sms account SID.withAuthToken
(String authToken) Set the authToken property: The Sms auth token.withIsEnabled
(boolean isEnabled) Set the isEnabled property: Whether this channel is enabled for the bot.withIsValidated
(Boolean isValidated) Set the isValidated property: Whether this channel is validated for the bot.Set the phone property: The Sms phone.
-
Constructor Details
-
SmsChannelProperties
public SmsChannelProperties()
-
-
Method Details
-
phone
Get the phone property: The Sms phone.- Returns:
- the phone value.
-
withPhone
Set the phone property: The Sms phone.- Parameters:
phone
- the phone value to set.- Returns:
- the SmsChannelProperties object itself.
-
accountSid
Get the accountSid property: The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.- Returns:
- the accountSid value.
-
withAccountSid
Set the accountSid property: The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.- Parameters:
accountSid
- the accountSid value to set.- Returns:
- the SmsChannelProperties object itself.
-
authToken
Get the authToken property: The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.- Returns:
- the authToken value.
-
withAuthToken
Set the authToken property: The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.- Parameters:
authToken
- the authToken value to set.- Returns:
- the SmsChannelProperties object itself.
-
isValidated
Get the isValidated property: Whether this channel is validated for the bot.- Returns:
- the isValidated value.
-
withIsValidated
Set the isValidated property: Whether this channel is validated for the bot.- Parameters:
isValidated
- the isValidated value to set.- Returns:
- the SmsChannelProperties object itself.
-
isEnabled
public boolean isEnabled()Get the isEnabled property: Whether this channel is enabled for the bot.- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: Whether this channel is enabled for the bot.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the SmsChannelProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-