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.BuilderaccessContextAttributes(AccessContextAttributeCollection accessContextAttributes)Lockbox.BuilderapprovalTemplateId(String approvalTemplateId)Approval template IDLockboxbuild()Lockbox.BuildercompartmentId(String compartmentId)Compartment IdentifierLockbox.Buildercopy(Lockbox model)Lockbox.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Lockbox.BuilderdisplayName(String displayName)Lockbox Identifier, can be renamedLockbox.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Lockbox.Builderid(String id)Unique identifier that is immutable on creationLockbox.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Lockbox.BuilderlifecycleState(Lockbox.LifecycleState lifecycleState)The current state of the Lockbox.Lockbox.BuilderlockboxPartner(LockboxPartner lockboxPartner)The partner using this lockbox to lock a resource.Lockbox.BuildermaxAccessDuration(String maxAccessDuration)The maximum amount of time operator has access to associated resources.Lockbox.BuilderparentLockboxId(String parentLockboxId)The unique identifier (OCID) of lockbox resource using to reference parent lockbox in hybrid oma setupLockbox.BuilderpartnerCompartmentId(String partnerCompartmentId)Compartment IdentifierLockbox.BuilderpartnerId(String partnerId)The unique identifier (OCID) of partner resource using this lockbox to lock a resourceLockbox.BuilderresourceId(String resourceId)The unique identifier (OCID) of associated resource that the lockbox is created for.Lockbox.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Lockbox.BuildertimeCreated(Date timeCreated)The time the the Lockbox was created.Lockbox.BuildertimeUpdated(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)
-
-