Class GetUpgradeResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GetUpgradeResponse.Builder>
co.elastic.clients.elasticsearch.indices.GetUpgradeResponse.Builder
- All Implemented Interfaces:
WithJson<GetUpgradeResponse.Builder>,ObjectBuilder<GetUpgradeResponse>
- Enclosing class:
- GetUpgradeResponse
public static class GetUpgradeResponse.Builder
extends WithJsonObjectBuilderBase<GetUpgradeResponse.Builder>
implements ObjectBuilder<GetUpgradeResponse>
Builder for
GetUpgradeResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetUpgradeResponse.overlapping(OverlappingIndexTemplate value, OverlappingIndexTemplate... values) Any templates that were superseded by the specified template.Any templates that were superseded by the specified template.Any templates that were superseded by the specified template.protected GetUpgradeResponse.Builderself()template(TemplateMapping value) The settings, mappings, and aliases that would be applied to matching indices.The settings, mappings, and aliases that would be applied to matching indices.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
-
overlapping
Any templates that were superseded by the specified template.API name:
overlappingAdds all elements of
listtooverlapping. -
overlapping
public final GetUpgradeResponse.Builder overlapping(OverlappingIndexTemplate value, OverlappingIndexTemplate... values) Any templates that were superseded by the specified template.API name:
overlappingAdds one or more values to
overlapping. -
overlapping
public final GetUpgradeResponse.Builder overlapping(Function<OverlappingIndexTemplate.Builder, ObjectBuilder<OverlappingIndexTemplate>> fn) Any templates that were superseded by the specified template.API name:
overlappingAdds a value to
overlappingusing a builder lambda. -
template
The settings, mappings, and aliases that would be applied to matching indices.API name:
template -
template
public final GetUpgradeResponse.Builder template(Function<TemplateMapping.Builder, ObjectBuilder<TemplateMapping>> fn) The settings, mappings, and aliases that would be applied to matching indices.API name:
template -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GetUpgradeResponse.Builder>
-
build
Builds aGetUpgradeResponse.- Specified by:
buildin interfaceObjectBuilder<GetUpgradeResponse>- Throws:
NullPointerException- if some of the required fields are null.
-