Class HttpSmsConfig.Builder
java.lang.Object
cloud.opencode.base.sms.config.HttpSmsConfig.Builder
- Enclosing class:
HttpSmsConfig
HTTP SMS Config Builder
HTTP短信配置构建器
- Since:
- JDK 25, opencode-base-sms V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet API URL 设置API地址Set app ID 设置应用IDSet app key 设置应用密钥build()Build the config 构建配置Add extra config 添加额外配置Set name 设置名称Set sign name 设置签名名称
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Set name 设置名称- Parameters:
name- the name | 名称- Returns:
- this builder | 此构建器
-
apiUrl
Set API URL 设置API地址- Parameters:
apiUrl- the API URL | API地址- Returns:
- this builder | 此构建器
-
appId
Set app ID 设置应用ID- Parameters:
appId- the app ID | 应用ID- Returns:
- this builder | 此构建器
-
appKey
Set app key 设置应用密钥- Parameters:
appKey- the app key | 应用密钥- Returns:
- this builder | 此构建器
-
signName
Set sign name 设置签名名称- Parameters:
signName- the sign name | 签名名称- Returns:
- this builder | 此构建器
-
extra
Add extra config 添加额外配置- Parameters:
key- the key | 键value- the value | 值- Returns:
- this builder | 此构建器
-
build
-