Class NamedCredential.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.NamedCredential.Builder
 
- 
- Enclosing class:
- NamedCredential
 
 public static class NamedCredential.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedCredential.BuilderassociatedResource(String associatedResource)The OCID of the resource that is associated to the named credential.NamedCredentialbuild()NamedCredential.BuildercompartmentId(String compartmentId)The OCID of the compartment.NamedCredential.Buildercontent(NamedCredentialContent content)NamedCredential.Buildercopy(NamedCredential model)NamedCredential.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NamedCredential.Builderdescription(String description)The information specified by the user about the named credential.NamedCredential.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.NamedCredential.Builderid(String id)The OCID of the named credential.NamedCredential.BuilderlifecycleDetails(String lifecycleDetails)The details of the lifecycle state.NamedCredential.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the named credential.NamedCredential.Buildername(String name)The name of the named credential.NamedCredential.Builderscope(NamedCredentialScope scope)The scope of the named credential.NamedCredential.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.NamedCredential.BuildertimeCreated(Date timeCreated)The date and time the named credential was created.NamedCredential.BuildertimeUpdated(Date timeUpdated)The date and time the named credential was last updated.NamedCredential.Buildertype(ResourceType type)The type of resource associated with the named credential.
 
- 
- 
- 
Method Detail- 
namepublic NamedCredential.Builder name(String name) The name of the named credential.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
idpublic NamedCredential.Builder id(String id) The OCID of the named credential.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic NamedCredential.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic NamedCredential.Builder description(String description) The information specified by the user about the named credential.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic NamedCredential.Builder lifecycleState(LifecycleStates lifecycleState) The current lifecycle state of the named credential.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic NamedCredential.Builder lifecycleDetails(String lifecycleDetails) The details of the lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
scopepublic NamedCredential.Builder scope(NamedCredentialScope scope) The scope of the named credential.- Parameters:
- scope- the value to set
- Returns:
- this builder
 
 - 
typepublic NamedCredential.Builder type(ResourceType type) The type of resource associated with the named credential.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
contentpublic NamedCredential.Builder content(NamedCredentialContent content) 
 - 
timeCreatedpublic NamedCredential.Builder timeCreated(Date timeCreated) The date and time the named credential was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic NamedCredential.Builder timeUpdated(Date timeUpdated) The date and time the named credential was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
associatedResourcepublic NamedCredential.Builder associatedResource(String associatedResource) The OCID of the resource that is associated to the named credential.- Parameters:
- associatedResource- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic NamedCredential.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic NamedCredential.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic NamedCredential.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic NamedCredential build() 
 - 
copypublic NamedCredential.Builder copy(NamedCredential model) 
 
- 
 
-