Package com.linecorp.bot.model.response
Class TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
- java.lang.Object
-
- com.linecorp.bot.model.response.TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder
-
- Enclosing class:
- TestWebhookEndpointResponse
public static class TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Method Detail
-
success
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder success(boolean success)
Result of the communication from the LINE platform to the webhook URL.- Returns:
this
.
-
timestamp
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder timestamp(java.time.Instant timestamp)
Please refer to Common Properties.- Returns:
this
.
-
statusCode
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder statusCode(int statusCode)
The HTTP status code. If the webhook response isn't received, the status code is set to zero or a negative number.- Returns:
this
.
-
reason
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder reason(java.lang.String reason)
Reason for the response.- Returns:
this
.
-
detail
public TestWebhookEndpointResponse.TestWebhookEndpointResponseBuilder detail(java.lang.String detail)
Details of the response.- Returns:
this
.
-
build
public TestWebhookEndpointResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-