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