Package com.lithic.api.models
Class MessageAttempt.Builder
-
- All Implemented Interfaces:
public final class MessageAttempt.BuilderA builder for MessageAttempt.
-
-
Method Summary
Modifier and Type Method Description final MessageAttempt.Buildertoken(String token)Globally unique identifier. final MessageAttempt.Buildertoken(JsonField<String> token)Globally unique identifier. final MessageAttempt.Buildercreated(OffsetDateTime created)An RFC 3339 timestamp for when the event was created. final MessageAttempt.Buildercreated(JsonField<OffsetDateTime> created)An RFC 3339 timestamp for when the event was created. final MessageAttempt.BuildereventSubscriptionToken(String eventSubscriptionToken)Globally unique identifier. final MessageAttempt.BuildereventSubscriptionToken(JsonField<String> eventSubscriptionToken)Globally unique identifier. final MessageAttempt.BuildereventToken(String eventToken)Globally unique identifier. final MessageAttempt.BuildereventToken(JsonField<String> eventToken)Globally unique identifier. final MessageAttempt.Builderresponse(String response)The response body from the event subscription's URL. final MessageAttempt.Builderresponse(JsonField<String> response)The response body from the event subscription's URL. final MessageAttempt.BuilderresponseStatusCode(Long responseStatusCode)The response status code from the event subscription's URL. final MessageAttempt.BuilderresponseStatusCode(JsonField<Long> responseStatusCode)The response status code from the event subscription's URL. final MessageAttempt.Builderstatus(MessageAttempt.Status status)The status of the event attempt. final MessageAttempt.Builderstatus(JsonField<MessageAttempt.Status> status)The status of the event attempt. final MessageAttempt.Builderurl(String url)final MessageAttempt.Builderurl(JsonField<String> url)final MessageAttempt.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final MessageAttempt.BuilderputAdditionalProperty(String key, JsonValue value)final MessageAttempt.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final MessageAttempt.BuilderremoveAdditionalProperty(String key)final MessageAttempt.BuilderremoveAllAdditionalProperties(Set<String> keys)final MessageAttemptbuild()-
-
Method Detail
-
token
final MessageAttempt.Builder token(String token)
Globally unique identifier.
-
token
final MessageAttempt.Builder token(JsonField<String> token)
Globally unique identifier.
-
created
final MessageAttempt.Builder created(OffsetDateTime created)
An RFC 3339 timestamp for when the event was created. UTC time zone.
If no timezone is specified, UTC will be used.
-
created
final MessageAttempt.Builder created(JsonField<OffsetDateTime> created)
An RFC 3339 timestamp for when the event was created. UTC time zone.
If no timezone is specified, UTC will be used.
-
eventSubscriptionToken
final MessageAttempt.Builder eventSubscriptionToken(String eventSubscriptionToken)
Globally unique identifier.
-
eventSubscriptionToken
final MessageAttempt.Builder eventSubscriptionToken(JsonField<String> eventSubscriptionToken)
Globally unique identifier.
-
eventToken
final MessageAttempt.Builder eventToken(String eventToken)
Globally unique identifier.
-
eventToken
final MessageAttempt.Builder eventToken(JsonField<String> eventToken)
Globally unique identifier.
-
response
final MessageAttempt.Builder response(String response)
The response body from the event subscription's URL.
-
response
final MessageAttempt.Builder response(JsonField<String> response)
The response body from the event subscription's URL.
-
responseStatusCode
final MessageAttempt.Builder responseStatusCode(Long responseStatusCode)
The response status code from the event subscription's URL.
-
responseStatusCode
final MessageAttempt.Builder responseStatusCode(JsonField<Long> responseStatusCode)
The response status code from the event subscription's URL.
-
status
final MessageAttempt.Builder status(MessageAttempt.Status status)
The status of the event attempt.
-
status
final MessageAttempt.Builder status(JsonField<MessageAttempt.Status> status)
The status of the event attempt.
-
url
final MessageAttempt.Builder url(String url)
-
url
final MessageAttempt.Builder url(JsonField<String> url)
-
additionalProperties
final MessageAttempt.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageAttempt.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageAttempt.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageAttempt.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageAttempt.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageAttempt build()
-
-
-
-