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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSlackAttachmentField.protected SlackAttachmentField.Builderself()short_(boolean value) Required - API name:shortRequired - API name:titleRequired - API name:valueMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<SlackAttachmentField.Builder>
-
build
Builds aSlackAttachmentField.- Specified by:
buildin interfaceObjectBuilder<SlackAttachmentField>- Throws:
NullPointerException- if some of the required fields are null.
-