Record Class PutIndexTemplateRequest
java.lang.Object
java.lang.Record
org.springframework.data.elasticsearch.core.index.PutIndexTemplateRequest
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPutIndexTemplateRequest(String name, String[] indexPatterns, @Nullable Settings settings, @Nullable Document mapping, @Nullable AliasActions aliasActions, List<String> composedOf) Creates an instance of aPutIndexTemplateRequestrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AliasActionsReturns the value of thealiasActionsrecord component.builder()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.String[]Returns the value of theindexPatternsrecord component.@Nullable Documentmapping()Returns the value of themappingrecord component.name()Returns the value of thenamerecord component.@Nullable Settingssettings()Returns the value of thesettingsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PutIndexTemplateRequest
public PutIndexTemplateRequest(String name, String[] indexPatterns, @Nullable Settings settings, @Nullable Document mapping, @Nullable AliasActions aliasActions, List<String> composedOf) Creates an instance of aPutIndexTemplateRequestrecord class.- Parameters:
name- the value for thenamerecord componentindexPatterns- the value for theindexPatternsrecord componentsettings- the value for thesettingsrecord componentmapping- the value for themappingrecord componentaliasActions- the value for thealiasActionsrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
indexPatterns
Returns the value of theindexPatternsrecord component.- Returns:
- the value of the
indexPatternsrecord component
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-
mapping
Returns the value of themappingrecord component.- Returns:
- the value of the
mappingrecord component
-
aliasActions
Returns the value of thealiasActionsrecord component.- Returns:
- the value of the
aliasActionsrecord component
-
composedOf
-