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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SlackAttachmentFieldbuild()Builds aSlackAttachmentField.protected SlackAttachmentField.Builderself()SlackAttachmentField.Buildershort_(boolean value)Required - API name:shortSlackAttachmentField.Buildertitle(java.lang.String value)Required - API name:titleSlackAttachmentField.Buildervalue(java.lang.String value)Required - API name:valueMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException- if some of the required fields are null.
-