Class RoleSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.RoleSummary.Builder
-
- Enclosing class:
- RoleSummary
public static class RoleSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleSummary.Builder
adminOption(RoleSummary.AdminOption adminOption)
Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO).RoleSummary
build()
RoleSummary.Builder
common(RoleSummary.Common common)
Indicates how the role was granted.RoleSummary.Builder
copy(RoleSummary model)
RoleSummary.Builder
defaultRole(RoleSummary.DefaultRole defaultRole)
Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not (NO).RoleSummary.Builder
delegateOption(RoleSummary.DelegateOption delegateOption)
Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO).RoleSummary.Builder
inherited(RoleSummary.Inherited inherited)
Indicates whether the granted role is inherited from another container (YES) or not (NO).RoleSummary.Builder
name(String name)
The name of the role granted to the user.
-
-
-
Method Detail
-
name
public RoleSummary.Builder name(String name)
The name of the role granted to the user.- Parameters:
name
- the value to set- Returns:
- this builder
-
adminOption
public RoleSummary.Builder adminOption(RoleSummary.AdminOption adminOption)
Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO).- Parameters:
adminOption
- the value to set- Returns:
- this builder
-
delegateOption
public RoleSummary.Builder delegateOption(RoleSummary.DelegateOption delegateOption)
Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO).- Parameters:
delegateOption
- the value to set- Returns:
- this builder
-
defaultRole
public RoleSummary.Builder defaultRole(RoleSummary.DefaultRole defaultRole)
Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not (NO).- Parameters:
defaultRole
- the value to set- Returns:
- this builder
-
common
public RoleSummary.Builder common(RoleSummary.Common common)
Indicates how the role was granted.Possible values: YES if the role is granted commonly (CONTAINER=ALL is used) NO if the role is granted locally (CONTAINER=ALL is not used)
- Parameters:
common
- the value to set- Returns:
- this builder
-
inherited
public RoleSummary.Builder inherited(RoleSummary.Inherited inherited)
Indicates whether the granted role is inherited from another container (YES) or not (NO).- Parameters:
inherited
- the value to set- Returns:
- this builder
-
build
public RoleSummary build()
-
copy
public RoleSummary.Builder copy(RoleSummary model)
-
-