Package com.oracle.bmc.lockbox.model
Class LockboxSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.lockbox.model.LockboxSummary.Builder
-
- Enclosing class:
- LockboxSummary
public static class LockboxSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LockboxSummary.Builder
approvalTemplateId(String approvalTemplateId)
Approval template IDLockboxSummary
build()
LockboxSummary.Builder
compartmentId(String compartmentId)
Compartment IdentifierLockboxSummary.Builder
copy(LockboxSummary model)
LockboxSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LockboxSummary.Builder
displayName(String displayName)
Lockbox Identifier, can be renamedLockboxSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.LockboxSummary.Builder
id(String id)
Unique identifier that is immutable on creationLockboxSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.LockboxSummary.Builder
lifecycleState(Lockbox.LifecycleState lifecycleState)
The current state of the Lockbox.LockboxSummary.Builder
lockboxPartner(LockboxPartner lockboxPartner)
The partner using this lockbox to lock a resource.LockboxSummary.Builder
maxAccessDuration(String maxAccessDuration)
The maximum amount of time operator has access to associated resources.LockboxSummary.Builder
partnerCompartmentId(String partnerCompartmentId)
Compartment IdentifierLockboxSummary.Builder
partnerId(String partnerId)
The unique identifier (OCID) of partner resource using this lockbox to lock a resourceLockboxSummary.Builder
resourceId(String resourceId)
The unique identifier (OCID) of associated resource that the lockbox is created for.LockboxSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.LockboxSummary.Builder
timeCreated(Date timeCreated)
The time the the Lockbox was created.LockboxSummary.Builder
timeUpdated(Date timeUpdated)
The time the Lockbox was updated.
-
-
-
Method Detail
-
id
public LockboxSummary.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public LockboxSummary.Builder displayName(String displayName)
Lockbox Identifier, can be renamed- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lockboxPartner
public LockboxSummary.Builder lockboxPartner(LockboxPartner lockboxPartner)
The partner using this lockbox to lock a resource.- Parameters:
lockboxPartner
- the value to set- Returns:
- this builder
-
compartmentId
public LockboxSummary.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
partnerId
public LockboxSummary.Builder partnerId(String partnerId)
The unique identifier (OCID) of partner resource using this lockbox to lock a resource- Parameters:
partnerId
- the value to set- Returns:
- this builder
-
partnerCompartmentId
public LockboxSummary.Builder partnerCompartmentId(String partnerCompartmentId)
Compartment Identifier- Parameters:
partnerCompartmentId
- the value to set- Returns:
- this builder
-
resourceId
public LockboxSummary.Builder resourceId(String resourceId)
The unique identifier (OCID) of associated resource that the lockbox is created for.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
approvalTemplateId
public LockboxSummary.Builder approvalTemplateId(String approvalTemplateId)
Approval template ID- Parameters:
approvalTemplateId
- the value to set- Returns:
- this builder
-
maxAccessDuration
public LockboxSummary.Builder maxAccessDuration(String maxAccessDuration)
The maximum amount of time operator has access to associated resources.- Parameters:
maxAccessDuration
- the value to set- Returns:
- this builder
-
timeCreated
public LockboxSummary.Builder timeCreated(Date timeCreated)
The time the the Lockbox was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public LockboxSummary.Builder timeUpdated(Date timeUpdated)
The time the Lockbox was updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public LockboxSummary.Builder lifecycleState(Lockbox.LifecycleState lifecycleState)
The current state of the Lockbox.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public LockboxSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public LockboxSummary.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 LockboxSummary.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 LockboxSummary.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 LockboxSummary build()
-
copy
public LockboxSummary.Builder copy(LockboxSummary model)
-
-