public static final class SelectGrantForRoleParam.Builder
extends java.lang.Object
SelectGrantForRoleParam
class.Modifier and Type | Method and Description |
---|---|
SelectGrantForRoleParam |
build()
Verifies parameters and creates a new
SelectGrantForRoleParam instance. |
SelectGrantForRoleParam.Builder |
withDatabaseName(java.lang.String databaseName)
Sets the database name.
|
SelectGrantForRoleParam.Builder |
withRoleName(@NonNull java.lang.String roleName)
Sets the roleName.
|
public SelectGrantForRoleParam.Builder withDatabaseName(java.lang.String databaseName)
databaseName
- database nameBuilder
public SelectGrantForRoleParam.Builder withRoleName(@NonNull @NonNull java.lang.String roleName)
roleName
- roleNameBuilder
public SelectGrantForRoleParam build() throws ParamException
SelectGrantForRoleParam
instance.SelectGrantForRoleParam
ParamException