Class SlackAttachmentField.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SlackAttachmentField.Builder>
co.elastic.clients.elasticsearch.watcher.SlackAttachmentField.Builder
- All Implemented Interfaces:
WithJson<SlackAttachmentField.Builder>
,ObjectBuilder<SlackAttachmentField>
- Enclosing class:
- SlackAttachmentField
public static class SlackAttachmentField.Builder
extends WithJsonObjectBuilderBase<SlackAttachmentField.Builder>
implements ObjectBuilder<SlackAttachmentField>
Builder for
SlackAttachmentField
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSlackAttachmentField
.protected SlackAttachmentField.Builder
self()
short_
(boolean value) Required - API name:short
Required - API name:title
Required - API name:value
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
short_
Required - API name:short
-
title
Required - API name:title
-
value
Required - API name:value
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<SlackAttachmentField.Builder>
-
build
Builds aSlackAttachmentField
.- Specified by:
build
in interfaceObjectBuilder<SlackAttachmentField>
- Throws:
NullPointerException
- if some of the required fields are null.
-