Package com.oracle.bmc.lockbox.model
Class CreateLockboxDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.lockbox.model.CreateLockboxDetails.Builder
-
- Enclosing class:
- CreateLockboxDetails
public static class CreateLockboxDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLockboxDetails.Builder
accessContextAttributes(AccessContextAttributeCollection accessContextAttributes)
CreateLockboxDetails.Builder
approvalTemplateId(String approvalTemplateId)
Approval template IDCreateLockboxDetails
build()
CreateLockboxDetails.Builder
compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the resource is located.CreateLockboxDetails.Builder
copy(CreateLockboxDetails model)
CreateLockboxDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateLockboxDetails.Builder
displayName(String displayName)
Lockbox IdentifierCreateLockboxDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CreateLockboxDetails.Builder
lockboxPartner(LockboxPartner lockboxPartner)
The partner using this lockbox to lock a resource.CreateLockboxDetails.Builder
maxAccessDuration(String maxAccessDuration)
The maximum amount of time operator has access to associated resources.CreateLockboxDetails.Builder
partnerCompartmentId(String partnerCompartmentId)
Compartment IdentifierCreateLockboxDetails.Builder
partnerId(String partnerId)
The unique identifier (OCID) of partner resource using this lockbox to lock a resourceCreateLockboxDetails.Builder
resourceId(String resourceId)
The unique identifier (OCID) of the customer’s resource.
-
-
-
Method Detail
-
displayName
public CreateLockboxDetails.Builder displayName(String displayName)
Lockbox Identifier- Parameters:
displayName
- the value to set- Returns:
- this builder
-
resourceId
public CreateLockboxDetails.Builder resourceId(String resourceId)
The unique identifier (OCID) of the customer’s resource.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
lockboxPartner
public CreateLockboxDetails.Builder lockboxPartner(LockboxPartner lockboxPartner)
The partner using this lockbox to lock a resource.- Parameters:
lockboxPartner
- the value to set- Returns:
- this builder
-
compartmentId
public CreateLockboxDetails.Builder compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the resource is located.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
partnerId
public CreateLockboxDetails.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 CreateLockboxDetails.Builder partnerCompartmentId(String partnerCompartmentId)
Compartment Identifier- Parameters:
partnerCompartmentId
- the value to set- Returns:
- this builder
-
approvalTemplateId
public CreateLockboxDetails.Builder approvalTemplateId(String approvalTemplateId)
Approval template ID- Parameters:
approvalTemplateId
- the value to set- Returns:
- this builder
-
maxAccessDuration
public CreateLockboxDetails.Builder maxAccessDuration(String maxAccessDuration)
The maximum amount of time operator has access to associated resources.- Parameters:
maxAccessDuration
- the value to set- Returns:
- this builder
-
accessContextAttributes
public CreateLockboxDetails.Builder accessContextAttributes(AccessContextAttributeCollection accessContextAttributes)
-
freeformTags
public CreateLockboxDetails.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 CreateLockboxDetails.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
-
build
public CreateLockboxDetails build()
-
copy
public CreateLockboxDetails.Builder copy(CreateLockboxDetails model)
-
-