クラス Limit.LimitBuilder
- java.lang.Object
-
- com.linecorp.bot.model.narrowcast.Limit.LimitBuilder
-
- 含まれているクラス:
- Limit
public static class Limit.LimitBuilder extends java.lang.Object
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 Limit
build()
Limit.LimitBuilder
max(java.lang.Integer max)
The maximum number of narrowcast messages to send.java.lang.String
toString()
Limit.LimitBuilder
upToRemainingQuota(java.lang.Boolean upToRemainingQuota)
If true, the message will be sent within the maximum number of deliverable messages.
-
-
-
メソッドの詳細
-
max
public Limit.LimitBuilder max(java.lang.Integer max)
The maximum number of narrowcast messages to send. Use this parameter to limit the number of narrowcast messages sent. The recipients will be chosen at random.- 戻り値:
this
.
-
upToRemainingQuota
public Limit.LimitBuilder upToRemainingQuota(java.lang.Boolean upToRemainingQuota)
If true, the message will be sent within the maximum number of deliverable messages. The default value is false.
Targets will be selected at random.- 戻り値:
this
.
-
build
public Limit build()
-
toString
public java.lang.String toString()
- オーバーライド:
toString
クラス内java.lang.Object
-
-