Package io.milvus.param.index
Class GetIndexStateParam.Builder
- java.lang.Object
-
- io.milvus.param.index.GetIndexStateParam.Builder
-
- Enclosing class:
- GetIndexStateParam
public static final class GetIndexStateParam.Builder extends java.lang.ObjectBuilder forGetIndexStateParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIndexStateParambuild()Verifies parameters and creates a newGetIndexStateParaminstance.GetIndexStateParam.BuilderwithCollectionName(@NonNull java.lang.String collectionName)Sets the collection name.GetIndexStateParam.BuilderwithFieldName(@NonNull java.lang.String fieldName)Sets the target field name.
-
-
-
Method Detail
-
withCollectionName
public GetIndexStateParam.Builder withCollectionName(@NonNull @NonNull java.lang.String collectionName)
Sets the collection name. Collection name cannot be empty or null.- Parameters:
collectionName- collection name- Returns:
Builder
-
withFieldName
public GetIndexStateParam.Builder withFieldName(@NonNull @NonNull java.lang.String fieldName)
Sets the target field name. Field name cannot be empty or null.- Parameters:
fieldName- field name- Returns:
Builder
-
build
public GetIndexStateParam build() throws ParamException
Verifies parameters and creates a newGetIndexStateParaminstance.- Returns:
GetIndexStateParam- Throws:
ParamException
-
-