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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApprovalTemplateSummary.Builder
approverLevels(ApproverLevels approverLevels)
ApprovalTemplateSummary.Builder
autoApprovalState(LockboxAutoApprovalState autoApprovalState)
The auto approval state of the lockbox.ApprovalTemplateSummary
build()
ApprovalTemplateSummary.Builder
compartmentId(String compartmentId)
The unique identifier (OCID) of the customer compartment where the approval template is located.ApprovalTemplateSummary.Builder
copy(ApprovalTemplateSummary model)
ApprovalTemplateSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ApprovalTemplateSummary.Builder
displayName(String displayName)
The approval template display name.ApprovalTemplateSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ApprovalTemplateSummary.Builder
id(String id)
The unique identifier (OCID) of the approval template, which can’t be changed after creation.ApprovalTemplateSummary.Builder
lifecycleState(ApprovalTemplate.LifecycleState lifecycleState)
The current state of the approval template.ApprovalTemplateSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.ApprovalTemplateSummary.Builder
timeCreated(Date timeCreated)
The time the the approval template was created.ApprovalTemplateSummary.Builder
timeUpdated(Date timeUpdated)
The time the approval template was updated.
-
-
-
Method Detail
-
id
public 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
-
displayName
public ApprovalTemplateSummary.Builder displayName(String displayName)
The approval template display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleState
public ApprovalTemplateSummary.Builder lifecycleState(ApprovalTemplate.LifecycleState lifecycleState)
The current state of the approval template.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
approverLevels
public ApprovalTemplateSummary.Builder approverLevels(ApproverLevels approverLevels)
-
compartmentId
public 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
-
autoApprovalState
public ApprovalTemplateSummary.Builder autoApprovalState(LockboxAutoApprovalState autoApprovalState)
The auto approval state of the lockbox.- Parameters:
autoApprovalState
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public ApprovalTemplateSummary build()
-
copy
public ApprovalTemplateSummary.Builder copy(ApprovalTemplateSummary model)
-
-