Class Ssl.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.xpack.usage.Ssl.Builder
- All Implemented Interfaces:
ObjectBuilder<Ssl>
- Enclosing class:
- Ssl
public static class Ssl.Builder extends ObjectBuilderBase implements ObjectBuilder<Ssl>
Builder for
Ssl
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Ssl
build()
Builds aSsl
.Ssl.Builder
http(FeatureToggle value)
Required - API name:http
Ssl.Builder
http(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)
Required - API name:http
Ssl.Builder
transport(FeatureToggle value)
Required - API name:transport
Ssl.Builder
transport(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)
Required - API name:transport
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
http
Required - API name:http
-
http
public final Ssl.Builder http(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:http
-
transport
Required - API name:transport
-
transport
public final Ssl.Builder transport(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:transport
-
build
Builds aSsl
.- Specified by:
build
in interfaceObjectBuilder<Ssl>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-