クラス UnfollowEvent.UnfollowEventBuilder
- java.lang.Object
-
- com.linecorp.bot.model.event.UnfollowEvent.UnfollowEventBuilder
-
- 含まれているクラス:
- UnfollowEvent
public static class UnfollowEvent.UnfollowEventBuilder extends java.lang.Object
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 UnfollowEvent
build()
UnfollowEvent.UnfollowEventBuilder
deliveryContext(DeliveryContext deliveryContext)
Get delivery context.UnfollowEvent.UnfollowEventBuilder
mode(EventMode mode)
Channel state.UnfollowEvent.UnfollowEventBuilder
source(Source source)
JSON object which contains the source of the event.UnfollowEvent.UnfollowEventBuilder
timestamp(java.time.Instant timestamp)
Time of the event.java.lang.String
toString()
UnfollowEvent.UnfollowEventBuilder
webhookEventId(java.lang.String webhookEventId)
Webhook Event ID.
-
-
-
メソッドの詳細
-
source
public UnfollowEvent.UnfollowEventBuilder source(Source source)
JSON object which contains the source of the event.- 戻り値:
this
.
-
timestamp
public UnfollowEvent.UnfollowEventBuilder timestamp(java.time.Instant timestamp)
Time of the event.- 戻り値:
this
.
-
mode
public UnfollowEvent.UnfollowEventBuilder mode(EventMode mode)
Channel state.- active
- The channel is active. You can send a reply message or push message from the bot server that received this webhook event.
- standby (under development)
- The channel is waiting. The bot server that received this webhook event shouldn't send any messages.
- 戻り値:
this
.
-
webhookEventId
public UnfollowEvent.UnfollowEventBuilder webhookEventId(java.lang.String webhookEventId)
Webhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.- 戻り値:
this
.
-
deliveryContext
public UnfollowEvent.UnfollowEventBuilder deliveryContext(DeliveryContext deliveryContext)
Get delivery context.- 戻り値:
this
.
-
build
public UnfollowEvent build()
-
toString
public java.lang.String toString()
- オーバーライド:
toString
クラス内java.lang.Object
-
-