public static class ConsumerGroupPrivilegeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConsumerGroupPrivilegeSummary |
build() |
ConsumerGroupPrivilegeSummary.Builder |
copy(ConsumerGroupPrivilegeSummary model) |
ConsumerGroupPrivilegeSummary.Builder |
grantOption(ConsumerGroupPrivilegeSummary.GrantOption grantOption)
Indicates whether the privilege is granted with the GRANT option (YES) or not (NO).
|
ConsumerGroupPrivilegeSummary.Builder |
initialGroup(ConsumerGroupPrivilegeSummary.InitialGroup initialGroup)
Indicates whether the consumer group is designated as the default for this user or role
(YES) or not (NO).
|
ConsumerGroupPrivilegeSummary.Builder |
name(String name)
The name of the granted consumer group privilege.
|
public ConsumerGroupPrivilegeSummary.Builder name(String name)
The name of the granted consumer group privilege.
name
- the value to setpublic ConsumerGroupPrivilegeSummary.Builder grantOption(ConsumerGroupPrivilegeSummary.GrantOption grantOption)
Indicates whether the privilege is granted with the GRANT option (YES) or not (NO).
grantOption
- the value to setpublic ConsumerGroupPrivilegeSummary.Builder initialGroup(ConsumerGroupPrivilegeSummary.InitialGroup initialGroup)
Indicates whether the consumer group is designated as the default for this user or role (YES) or not (NO).
initialGroup
- the value to setpublic ConsumerGroupPrivilegeSummary build()
public ConsumerGroupPrivilegeSummary.Builder copy(ConsumerGroupPrivilegeSummary model)
Copyright © 2016–2024. All rights reserved.