Package com.oracle.bmc.lockbox.model
Class ApprovalTemplateSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.lockbox.model.ApprovalTemplateSummary.Builder
 
- 
- Enclosing class:
- ApprovalTemplateSummary
 
 public static class ApprovalTemplateSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ApprovalTemplateSummary.BuilderapproverLevels(ApproverLevels approverLevels)ApprovalTemplateSummary.BuilderautoApprovalState(LockboxAutoApprovalState autoApprovalState)The auto approval state of the lockbox.ApprovalTemplateSummarybuild()ApprovalTemplateSummary.BuildercompartmentId(String compartmentId)The unique identifier (OCID) of the customer compartment where the approval template is located.ApprovalTemplateSummary.Buildercopy(ApprovalTemplateSummary model)ApprovalTemplateSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ApprovalTemplateSummary.BuilderdisplayName(String displayName)The approval template display name.ApprovalTemplateSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ApprovalTemplateSummary.Builderid(String id)The unique identifier (OCID) of the approval template, which can’t be changed after creation.ApprovalTemplateSummary.BuilderlifecycleState(ApprovalTemplate.LifecycleState lifecycleState)The current state of the approval template.ApprovalTemplateSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ApprovalTemplateSummary.BuildertimeCreated(Date timeCreated)The time the the approval template was created.ApprovalTemplateSummary.BuildertimeUpdated(Date timeUpdated)The time the approval template was updated.
 
- 
- 
- 
Method Detail- 
idpublic ApprovalTemplateSummary.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 ApprovalTemplateSummary.Builder displayName(String displayName) The approval template display name.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ApprovalTemplateSummary.Builder lifecycleState(ApprovalTemplate.LifecycleState lifecycleState) The current state of the approval template.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
approverLevelspublic ApprovalTemplateSummary.Builder approverLevels(ApproverLevels approverLevels) 
 - 
compartmentIdpublic ApprovalTemplateSummary.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 ApprovalTemplateSummary.Builder autoApprovalState(LockboxAutoApprovalState autoApprovalState) The auto approval state of the lockbox.- Parameters:
- autoApprovalState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ApprovalTemplateSummary.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 ApprovalTemplateSummary.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 ApprovalTemplateSummary.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 ApprovalTemplateSummary.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 ApprovalTemplateSummary.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 ApprovalTemplateSummary build() 
 - 
copypublic ApprovalTemplateSummary.Builder copy(ApprovalTemplateSummary model) 
 
- 
 
-