Package com.oracle.bmc.lockbox.model
Class ApprovalTemplate.Builder
- java.lang.Object
- 
- com.oracle.bmc.lockbox.model.ApprovalTemplate.Builder
 
- 
- Enclosing class:
- ApprovalTemplate
 
 public static class ApprovalTemplate.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ApprovalTemplate.BuilderapproverLevels(ApproverLevels approverLevels)ApprovalTemplate.BuilderautoApprovalState(LockboxAutoApprovalState autoApprovalState)The auto approval state of the lockbox.ApprovalTemplatebuild()ApprovalTemplate.BuildercompartmentId(String compartmentId)The unique identifier (OCID) of the customer compartment where the approval template is located.ApprovalTemplate.Buildercopy(ApprovalTemplate model)ApprovalTemplate.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ApprovalTemplate.BuilderdisplayName(String displayName)The approval template display name.ApprovalTemplate.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ApprovalTemplate.Builderid(String id)The unique identifier (OCID) of the approval template, which can’t be changed after creation.ApprovalTemplate.BuilderlifecycleState(ApprovalTemplate.LifecycleState lifecycleState)The current state of the approval template.ApprovalTemplate.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ApprovalTemplate.BuildertimeCreated(Date timeCreated)The time the the approval template was created.ApprovalTemplate.BuildertimeUpdated(Date timeUpdated)The time the approval template was updated.
 
- 
- 
- 
Method Detail- 
idpublic ApprovalTemplate.Builder id(String id) The unique identifier (OCID) of the approval template, which can’t be changed after creation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ApprovalTemplate.Builder displayName(String displayName) The approval template display name.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ApprovalTemplate.Builder lifecycleState(ApprovalTemplate.LifecycleState lifecycleState) The current state of the approval template.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
approverLevelspublic ApprovalTemplate.Builder approverLevels(ApproverLevels approverLevels) 
 - 
compartmentIdpublic ApprovalTemplate.Builder compartmentId(String compartmentId) The unique identifier (OCID) of the customer compartment where the approval template is located.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
autoApprovalStatepublic ApprovalTemplate.Builder autoApprovalState(LockboxAutoApprovalState autoApprovalState) The auto approval state of the lockbox.- Parameters:
- autoApprovalState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ApprovalTemplate.Builder timeCreated(Date timeCreated) The time the the approval template was created.An RFC3339 formatted datetime string - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ApprovalTemplate.Builder timeUpdated(Date timeUpdated) The time the approval template was updated.An RFC3339 formatted datetime string - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ApprovalTemplate.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic ApprovalTemplate.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic ApprovalTemplate.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ApprovalTemplate build() 
 - 
copypublic ApprovalTemplate.Builder copy(ApprovalTemplate model) 
 
- 
 
-