Record Class TemplateResponseData
java.lang.Object
java.lang.Record
org.springframework.data.elasticsearch.core.index.TemplateResponseData
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliases()Returns the value of thealiasesrecord component.static TemplateResponseData.Builderbuilder()Returns the value of thecomposedOfrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Documentmapping()Returns the value of themappingrecord component.@Nullable Settingssettings()Returns the value of thesettingsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TemplateResponseData
public TemplateResponseData(@Nullable Document mapping, @Nullable Settings settings, Map<String, AliasData> aliases, List<String> composedOf) Creates an instance of aTemplateResponseDatarecord class.- Parameters:
mapping- the value for themappingrecord componentsettings- the value for thesettingsrecord componentaliases- the value for thealiasesrecord componentcomposedOf- the value for thecomposedOfrecord component
-
-
Method Details
-
builder
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
mapping
Returns the value of themappingrecord component.- Returns:
- the value of the
mappingrecord component
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-
aliases
-
composedOf
-