Class AliasesRecord
java.lang.Object
org.opensearch.client.opensearch.cat.aliases.AliasesRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<AliasesRecord.Builder,AliasesRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AliasesRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<AliasesRecord.Builder,AliasesRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AliasesRecord> Json deserializer forAliasesRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringalias()alias namestatic AliasesRecord.Builderbuilder()booleanfinal Stringfilter()filterinthashCode()final Stringindex()API name:indexfinal Stringwrite indexstatic AliasesRecordfinal Stringindex routingfinal Stringsearch routingvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forAliasesRecord
-
-
Method Details
-
of
-
alias
alias nameAPI name:
alias -
filter
filterAPI name:
filter -
index
API name:index -
isWriteIndex
write indexAPI name:
is_write_index -
routingIndex
index routingAPI name:
routing.index -
routingSearch
search routingAPI name:
routing.search -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AliasesRecord.Builder,AliasesRecord> - Returns:
- a new builder instance.
-
builder
-
setupAliasesRecordDeserializer
-
hashCode
public int hashCode() -
equals
-