クラス TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
java.lang.Object
com.linecorp.bot.model.response.TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
- 含まれているクラス:
- TestWebhookEndpointResponse
public static class TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
extends java.lang.Object
-
メソッドの概要
修飾子とタイプ メソッド 説明 TestWebhookEndpointResponse
build()
TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
detail(java.lang.String detail)
Details of the response.TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
reason(java.lang.String reason)
Reason for the response.TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
statusCode(int statusCode)
The HTTP status code.TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
success(boolean success)
Result of the communication from the LINE platform to the webhook URL.TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
timestamp(java.time.Instant timestamp)
Please refer to Common Properties.java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
success
Result of the communication from the LINE platform to the webhook URL.- 戻り値:
this
.
-
timestamp
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder timestamp(java.time.Instant timestamp)Please refer to Common Properties.- 戻り値:
this
.
-
statusCode
The HTTP status code. If the webhook response isn't received, the status code is set to zero or a negative number.- 戻り値:
this
.
-
reason
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder reason(java.lang.String reason)Reason for the response.- 戻り値:
this
.
-
detail
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder detail(java.lang.String detail)Details of the response.- 戻り値:
this
.
-
build
-
toString
public java.lang.String toString()- オーバーライド:
toString
クラス内java.lang.Object
-