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.Object
Builder forSelectGrantForRoleParam
class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectGrantForRoleParam
build()
Verifies parameters and creates a newSelectGrantForRoleParam
instance.SelectGrantForRoleParam.Builder
withRoleName(@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 newSelectGrantForRoleParam
instance.- Returns:
SelectGrantForRoleParam
- Throws:
ParamException
-
-