クラス NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
java.lang.Object
com.linecorp.bot.model.response.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
- 含まれているクラス:
- NarrowcastProgressResponse
public static class NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
extends java.lang.Object
-
メソッドの概要
修飾子とタイプ メソッド 説明 NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
acceptedTime(java.time.Instant acceptedTime)
Narrowcast message request accepted time in milliseconds.NarrowcastProgressResponse
build()
NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
completedTime(java.time.Instant completedTime)
Processing of narrowcast message request completion time in milliseconds.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
errorCode(java.lang.Long errorCode)
A brief summary of the error.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
failedDescription(java.lang.String failedDescription)
The reason why the message failed to be sent.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
failureCount(java.lang.Long failureCount)
The number of users who failed to receive the message.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
phase(NarrowcastProgressResponse.Phase phase)
The current status.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
successCount(java.lang.Long successCount)
The number of users who successfully received the message.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
targetCount(java.lang.Long targetCount)
The number of intended recipients of the message.java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
phase
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder phase(NarrowcastProgressResponse.Phase phase)The current status.- 戻り値:
this
.
-
successCount
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder successCount(java.lang.Long successCount)The number of users who successfully received the message. (Not available when phase is waiting)- 戻り値:
this
.
-
failureCount
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder failureCount(java.lang.Long failureCount)The number of users who failed to receive the message. (Not available when phase is waiting)- 戻り値:
this
.
-
targetCount
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder targetCount(java.lang.Long targetCount)The number of intended recipients of the message. (Not available when phase is waiting)- 戻り値:
this
.
-
failedDescription
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder failedDescription(java.lang.String failedDescription)The reason why the message failed to be sent. This is only included with a phase property value of failed.- 戻り値:
this
.
-
errorCode
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder errorCode(java.lang.Long errorCode)A brief summary of the error.- 戻り値:
this
.
-
acceptedTime
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder acceptedTime(java.time.Instant acceptedTime)Narrowcast message request accepted time in milliseconds.- 戻り値:
this
.
-
completedTime
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder completedTime(java.time.Instant completedTime)Processing of narrowcast message request completion time in milliseconds. Returned when the phase property is succeeded or failed.- 戻り値:
this
.
-
build
-
toString
public java.lang.String toString()- オーバーライド:
toString
クラス内java.lang.Object
-