Class ConsumerGroupPrivilegeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ConsumerGroupPrivilegeSummary.Builder
-
- Enclosing class:
- ConsumerGroupPrivilegeSummary
public static class ConsumerGroupPrivilegeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
name
public ConsumerGroupPrivilegeSummary.Builder name(String name)
The name of the granted consumer group privilege.- Parameters:
name
- the value to set- Returns:
- this builder
-
grantOption
public ConsumerGroupPrivilegeSummary.Builder grantOption(ConsumerGroupPrivilegeSummary.GrantOption grantOption)
Indicates whether the privilege is granted with the GRANT option (YES) or not (NO).- Parameters:
grantOption
- the value to set- Returns:
- this builder
-
initialGroup
public 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).- Parameters:
initialGroup
- the value to set- Returns:
- this builder
-
build
public ConsumerGroupPrivilegeSummary build()
-
copy
public ConsumerGroupPrivilegeSummary.Builder copy(ConsumerGroupPrivilegeSummary model)
-
-