Class RoleSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.RoleSummary.Builder
 
- 
- Enclosing class:
- RoleSummary
 
 public static class RoleSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleSummary.BuilderadminOption(RoleSummary.AdminOption adminOption)Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO).RoleSummarybuild()RoleSummary.Buildercommon(RoleSummary.Common common)Indicates how the role was granted.RoleSummary.Buildercopy(RoleSummary model)RoleSummary.BuilderdefaultRole(RoleSummary.DefaultRole defaultRole)Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not (NO).RoleSummary.BuilderdelegateOption(RoleSummary.DelegateOption delegateOption)Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO).RoleSummary.Builderinherited(RoleSummary.Inherited inherited)Indicates whether the granted role is inherited from another container (YES) or not (NO).RoleSummary.Buildername(String name)The name of the role granted to the user.
 
- 
- 
- 
Method Detail- 
namepublic RoleSummary.Builder name(String name) The name of the role granted to the user.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
adminOptionpublic 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
 
 - 
delegateOptionpublic 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
 
 - 
defaultRolepublic 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
 
 - 
commonpublic 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
 
 - 
inheritedpublic 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
 
 - 
buildpublic RoleSummary build() 
 - 
copypublic RoleSummary.Builder copy(RoleSummary model) 
 
- 
 
-