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