Class Channel.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ism.Channel.Builder
- All Implemented Interfaces:
CopyableBuilder<Channel.Builder,,Channel> MutableBuilder<Channel.Builder,,Channel> ObjectBuilder<Channel>
- Enclosing class:
Channel
public static class Channel.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Channel.Builder,Channel>
Builder for
Channel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aChannel.copy()Create a new builderCopyableBuilderthat is a copy of this one.final Channel.BuilderThe ID of the notification channel.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<Channel.Builder,Channel> - Returns:
- a new builder instance.
-
id
The ID of the notification channel.API name:
id -
build
Builds aChannel.- Specified by:
buildin interfaceObjectBuilder<Channel>- Throws:
NullPointerException- if some of the required fields are null.
-