Package io.milvus.param.role
Class DropRoleParam.Builder
- java.lang.Object
-
- io.milvus.param.role.DropRoleParam.Builder
-
- Enclosing class:
- DropRoleParam
public static final class DropRoleParam.Builder extends Object
Builder forDropRoleParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DropRoleParambuild()Verifies parameters and creates a newDropRoleParaminstance.DropRoleParam.BuilderwithRoleName(@NonNull String roleName)Sets the roleName.
-
-
-
Method Detail
-
withRoleName
public DropRoleParam.Builder withRoleName(@NonNull @NonNull String roleName)
Sets the roleName. RoleName cannot be empty or null.- Parameters:
roleName- roleName- Returns:
Builder
-
build
public DropRoleParam build() throws ParamException
Verifies parameters and creates a newDropRoleParaminstance.- Returns:
DropRoleParam- Throws:
ParamException
-
-