Class Deprecation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Deprecation.Builder>
co.elastic.clients.elasticsearch.migration.deprecations.Deprecation.Builder
- All Implemented Interfaces:
WithJson<Deprecation.Builder>,ObjectBuilder<Deprecation>
- Enclosing class:
- Deprecation
public static class Deprecation.Builder
extends WithJsonObjectBuilderBase<Deprecation.Builder>
implements ObjectBuilder<Deprecation>
Builder for
Deprecation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeprecation.final Deprecation.BuilderOptional details about the deprecation warning.final Deprecation.Builderlevel(DeprecationLevel value) Required - The level property describes the significance of the issue.final Deprecation.BuilderRequired - Descriptive information about the deprecation warning.final Deprecation.BuilderAPI name:_metafinal Deprecation.BuilderAPI name:_metafinal Deprecation.BuilderresolveDuringRollingUpgrade(boolean value) Required - API name:resolve_during_rolling_upgradeprotected Deprecation.Builderself()final Deprecation.BuilderRequired - A link to the breaking change documentation, where you can find more information about this change.Methods 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
-
details
Optional details about the deprecation warning.API name:
details -
level
Required - The level property describes the significance of the issue.API name:
level -
message
Required - Descriptive information about the deprecation warning.API name:
message -
url
Required - A link to the breaking change documentation, where you can find more information about this change.API name:
url -
resolveDuringRollingUpgrade
Required - API name:resolve_during_rolling_upgrade -
meta
API name:_metaAdds all entries of
maptometa. -
meta
API name:_metaAdds an entry to
meta. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Deprecation.Builder>
-
build
Builds aDeprecation.- Specified by:
buildin interfaceObjectBuilder<Deprecation>- Throws:
NullPointerException- if some of the required fields are null.
-