public static class AliasMetaData.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(AliasMetaData aliasMetaData) |
Builder(java.lang.String alias) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
alias() |
AliasMetaData |
build() |
AliasMetaData.Builder |
filter(CompressedXContent filter) |
AliasMetaData.Builder |
filter(java.util.Map<java.lang.String,java.lang.Object> filter) |
AliasMetaData.Builder |
filter(java.lang.String filter) |
AliasMetaData.Builder |
filter(XContentBuilder filterBuilder) |
static AliasMetaData |
fromXContent(XContentParser parser) |
AliasMetaData.Builder |
indexRouting(java.lang.String indexRouting) |
AliasMetaData.Builder |
routing(java.lang.String routing) |
AliasMetaData.Builder |
searchRouting(java.lang.String searchRouting) |
static void |
toXContent(AliasMetaData aliasMetaData,
XContentBuilder builder,
ToXContent.Params params) |
public Builder(java.lang.String alias)
public Builder(AliasMetaData aliasMetaData)
public java.lang.String alias()
public AliasMetaData.Builder filter(CompressedXContent filter)
public AliasMetaData.Builder filter(java.lang.String filter)
public AliasMetaData.Builder filter(java.util.Map<java.lang.String,java.lang.Object> filter)
public AliasMetaData.Builder filter(XContentBuilder filterBuilder)
public AliasMetaData.Builder routing(java.lang.String routing)
public AliasMetaData.Builder indexRouting(java.lang.String indexRouting)
public AliasMetaData.Builder searchRouting(java.lang.String searchRouting)
public AliasMetaData build()
public static void toXContent(AliasMetaData aliasMetaData, XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
public static AliasMetaData fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException