Class MessageAttempt.Builder
-
- All Implemented Interfaces:
public final class MessageAttempt.BuilderA builder for MessageAttempt.
-
-
Method Summary
-
-
Method Detail
-
token
final MessageAttempt.Builder token(String token)
Globally unique identifier.
-
token
final MessageAttempt.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
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)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventSubscriptionToken
final MessageAttempt.Builder eventSubscriptionToken(String eventSubscriptionToken)
Globally unique identifier.
-
eventSubscriptionToken
final MessageAttempt.Builder eventSubscriptionToken(JsonField<String> eventSubscriptionToken)
Sets Builder.eventSubscriptionToken to an arbitrary JSON value.
You should usually call Builder.eventSubscriptionToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventToken
final MessageAttempt.Builder eventToken(String eventToken)
Globally unique identifier.
-
eventToken
final MessageAttempt.Builder eventToken(JsonField<String> eventToken)
Sets Builder.eventToken to an arbitrary JSON value.
You should usually call Builder.eventToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
response
final MessageAttempt.Builder response(String response)
The response body from the event subscription's URL.
-
response
final MessageAttempt.Builder response(JsonField<String> response)
Sets Builder.response to an arbitrary JSON value.
You should usually call Builder.response with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
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)
Sets Builder.responseStatusCode to an arbitrary JSON value.
You should usually call Builder.responseStatusCode with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final MessageAttempt.Builder status(MessageAttempt.Status status)
The status of the event attempt.
-
status
final MessageAttempt.Builder status(JsonField<MessageAttempt.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final MessageAttempt.Builder url(String url)
-
url
final MessageAttempt.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
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()
Returns an immutable instance of MessageAttempt.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .created() .eventSubscriptionToken() .eventToken() .response() .responseStatusCode() .status() .url()
-
-
-
-