Class SystemPrivilegeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SystemPrivilegeSummary.Builder
-
- Enclosing class:
- SystemPrivilegeSummary
public static class SystemPrivilegeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemPrivilegeSummary.BuilderadminOption(SystemPrivilegeSummary.AdminOption adminOption)Indicates whether the system privilege is granted with the ADMIN option (YES) or not (NO).SystemPrivilegeSummarybuild()SystemPrivilegeSummary.Buildercommon(SystemPrivilegeSummary.Common common)Indicates how the system privilege was granted.SystemPrivilegeSummary.Buildercopy(SystemPrivilegeSummary model)SystemPrivilegeSummary.Builderinherited(SystemPrivilegeSummary.Inherited inherited)Indicates whether the granted system privilege is inherited from another container (YES) or not (NO).SystemPrivilegeSummary.Buildername(String name)The name of a system privilege.
-
-
-
Method Detail
-
name
public SystemPrivilegeSummary.Builder name(String name)
The name of a system privilege.- Parameters:
name- the value to set- Returns:
- this builder
-
adminOption
public SystemPrivilegeSummary.Builder adminOption(SystemPrivilegeSummary.AdminOption adminOption)
Indicates whether the system privilege is granted with the ADMIN option (YES) or not (NO).- Parameters:
adminOption- the value to set- Returns:
- this builder
-
common
public SystemPrivilegeSummary.Builder common(SystemPrivilegeSummary.Common common)
Indicates how the system privilege was granted.Possible values: YES if the system privilege is granted commonly (CONTAINER=ALL is used) NO if the system privilege is granted locally (CONTAINER=ALL is not used)
- Parameters:
common- the value to set- Returns:
- this builder
-
inherited
public SystemPrivilegeSummary.Builder inherited(SystemPrivilegeSummary.Inherited inherited)
Indicates whether the granted system privilege is inherited from another container (YES) or not (NO).- Parameters:
inherited- the value to set- Returns:
- this builder
-
build
public SystemPrivilegeSummary build()
-
copy
public SystemPrivilegeSummary.Builder copy(SystemPrivilegeSummary model)
-
-