Package com.oracle.bmc.lockbox.model
Class Lockbox.Builder
- java.lang.Object
-
- com.oracle.bmc.lockbox.model.Lockbox.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lockbox.Builder
accessContextAttributes(AccessContextAttributeCollection accessContextAttributes)
Lockbox.Builder
approvalTemplateId(String approvalTemplateId)
Approval template IDLockbox
build()
Lockbox.Builder
compartmentId(String compartmentId)
Compartment IdentifierLockbox.Builder
copy(Lockbox model)
Lockbox.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Lockbox.Builder
displayName(String displayName)
Lockbox Identifier, can be renamedLockbox.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Lockbox.Builder
id(String id)
Unique identifier that is immutable on creationLockbox.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Lockbox.Builder
lifecycleState(Lockbox.LifecycleState lifecycleState)
The current state of the Lockbox.Lockbox.Builder
lockboxPartner(LockboxPartner lockboxPartner)
The partner using this lockbox to lock a resource.Lockbox.Builder
maxAccessDuration(String maxAccessDuration)
The maximum amount of time operator has access to associated resources.Lockbox.Builder
parentLockboxId(String parentLockboxId)
The unique identifier (OCID) of lockbox resource using to reference parent lockbox in hybrid oma setupLockbox.Builder
partnerCompartmentId(String partnerCompartmentId)
Compartment IdentifierLockbox.Builder
partnerId(String partnerId)
The unique identifier (OCID) of partner resource using this lockbox to lock a resourceLockbox.Builder
resourceId(String resourceId)
The unique identifier (OCID) of associated resource that the lockbox is created for.Lockbox.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.Lockbox.Builder
timeCreated(Date timeCreated)
The time the the Lockbox was created.Lockbox.Builder
timeUpdated(Date timeUpdated)
The time the Lockbox was updated.
-
-
-
Method Detail
-
id
public Lockbox.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public Lockbox.Builder displayName(String displayName)
Lockbox Identifier, can be renamed- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public Lockbox.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
partnerId
public Lockbox.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
-
parentLockboxId
public Lockbox.Builder parentLockboxId(String parentLockboxId)
The unique identifier (OCID) of lockbox resource using to reference parent lockbox in hybrid oma setup- Parameters:
parentLockboxId
- the value to set- Returns:
- this builder
-
partnerCompartmentId
public Lockbox.Builder partnerCompartmentId(String partnerCompartmentId)
Compartment Identifier- Parameters:
partnerCompartmentId
- the value to set- Returns:
- this builder
-
resourceId
public Lockbox.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
-
lockboxPartner
public Lockbox.Builder lockboxPartner(LockboxPartner lockboxPartner)
The partner using this lockbox to lock a resource.- Parameters:
lockboxPartner
- the value to set- Returns:
- this builder
-
timeCreated
public Lockbox.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 Lockbox.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 Lockbox.Builder lifecycleState(Lockbox.LifecycleState lifecycleState)
The current state of the Lockbox.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
accessContextAttributes
public Lockbox.Builder accessContextAttributes(AccessContextAttributeCollection accessContextAttributes)
-
approvalTemplateId
public Lockbox.Builder approvalTemplateId(String approvalTemplateId)
Approval template ID- Parameters:
approvalTemplateId
- the value to set- Returns:
- this builder
-
maxAccessDuration
public Lockbox.Builder maxAccessDuration(String maxAccessDuration)
The maximum amount of time operator has access to associated resources.- Parameters:
maxAccessDuration
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Lockbox.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 Lockbox.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 Lockbox.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 Lockbox.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 Lockbox build()
-
copy
public Lockbox.Builder copy(Lockbox model)
-
-