public static class ApprovalTemplate.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ApprovalTemplate.Builder |
approverLevels(ApproverLevels approverLevels) |
ApprovalTemplate.Builder |
autoApprovalState(LockboxAutoApprovalState autoApprovalState)
The auto approval state of the lockbox.
|
ApprovalTemplate |
build() |
ApprovalTemplate.Builder |
compartmentId(String compartmentId)
The unique identifier (OCID) of the customer compartment where the approval template is
located.
|
ApprovalTemplate.Builder |
copy(ApprovalTemplate model) |
ApprovalTemplate.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ApprovalTemplate.Builder |
displayName(String displayName)
The approval template display name.
|
ApprovalTemplate.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ApprovalTemplate.Builder |
id(String id)
The unique identifier (OCID) of the approval template, which can’t be changed after
creation.
|
ApprovalTemplate.Builder |
lifecycleState(ApprovalTemplate.LifecycleState lifecycleState)
The current state of the approval template.
|
ApprovalTemplate.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ApprovalTemplate.Builder |
timeCreated(Date timeCreated)
The time the the approval template was created.
|
ApprovalTemplate.Builder |
timeUpdated(Date timeUpdated)
The time the approval template was updated.
|
public ApprovalTemplate.Builder id(String id)
The unique identifier (OCID) of the approval template, which can’t be changed after creation.
id
- the value to setpublic ApprovalTemplate.Builder displayName(String displayName)
The approval template display name.
displayName
- the value to setpublic ApprovalTemplate.Builder lifecycleState(ApprovalTemplate.LifecycleState lifecycleState)
The current state of the approval template.
lifecycleState
- the value to setpublic ApprovalTemplate.Builder approverLevels(ApproverLevels approverLevels)
public ApprovalTemplate.Builder compartmentId(String compartmentId)
The unique identifier (OCID) of the customer compartment where the approval template is located.
compartmentId
- the value to setpublic ApprovalTemplate.Builder autoApprovalState(LockboxAutoApprovalState autoApprovalState)
The auto approval state of the lockbox.
autoApprovalState
- the value to setpublic ApprovalTemplate.Builder timeCreated(Date timeCreated)
The time the the approval template was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic ApprovalTemplate.Builder timeUpdated(Date timeUpdated)
The time the approval template was updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ApprovalTemplate build()
public ApprovalTemplate.Builder copy(ApprovalTemplate model)
Copyright © 2016–2024. All rights reserved.