Package com.oracle.bmc.lockbox.model
Class AccessRequestSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.lockbox.model.AccessRequestSummary.Builder
-
- Enclosing class:
- AccessRequestSummary
public static class AccessRequestSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessRequestSummary.Builder
accessDuration(String accessDuration)
The maximum amount of time operator has access to associated resources.AccessRequestSummary
build()
AccessRequestSummary.Builder
copy(AccessRequestSummary model)
AccessRequestSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AccessRequestSummary.Builder
description(String description)
The rationale for requesting the access request.AccessRequestSummary.Builder
displayName(String displayName)
The name of the access request.AccessRequestSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.AccessRequestSummary.Builder
id(String id)
The unique identifier (OCID) of the access request, which can’t be changed after creation.AccessRequestSummary.Builder
lifecycleState(AccessRequest.LifecycleState lifecycleState)
The current state of the access request.AccessRequestSummary.Builder
lockboxId(String lockboxId)
The unique identifier (OCID) of the lockbox box that the access request is associated with, which can’t be changed after creation.AccessRequestSummary.Builder
requestorId(String requestorId)
The unique identifier of the requestor.AccessRequestSummary.Builder
requestorLocation(String requestorLocation)
The two-char country code of the requestor while creating the access request Example: USAccessRequestSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.AccessRequestSummary.Builder
ticketNumber(String ticketNumber)
The ticket number raised by external customers Example: 3-37509643121AccessRequestSummary.Builder
timeCreated(Date timeCreated)
The time the access request was created.AccessRequestSummary.Builder
timeExpired(Date timeExpired)
The time the access request expired.AccessRequestSummary.Builder
timeUpdated(Date timeUpdated)
The time the access request was last updated.
-
-
-
Method Detail
-
id
public AccessRequestSummary.Builder id(String id)
The unique identifier (OCID) of the access request, which can’t be changed after creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
lockboxId
public AccessRequestSummary.Builder lockboxId(String lockboxId)
The unique identifier (OCID) of the lockbox box that the access request is associated with, which can’t be changed after creation.- Parameters:
lockboxId
- the value to set- Returns:
- this builder
-
displayName
public AccessRequestSummary.Builder displayName(String displayName)
The name of the access request.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public AccessRequestSummary.Builder description(String description)
The rationale for requesting the access request.- Parameters:
description
- the value to set- Returns:
- this builder
-
requestorId
public AccessRequestSummary.Builder requestorId(String requestorId)
The unique identifier of the requestor.- Parameters:
requestorId
- the value to set- Returns:
- this builder
-
requestorLocation
public AccessRequestSummary.Builder requestorLocation(String requestorLocation)
The two-char country code of the requestor while creating the access request Example: US- Parameters:
requestorLocation
- the value to set- Returns:
- this builder
-
lifecycleState
public AccessRequestSummary.Builder lifecycleState(AccessRequest.LifecycleState lifecycleState)
The current state of the access request.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
accessDuration
public AccessRequestSummary.Builder accessDuration(String accessDuration)
The maximum amount of time operator has access to associated resources.- Parameters:
accessDuration
- the value to set- Returns:
- this builder
-
timeCreated
public AccessRequestSummary.Builder timeCreated(Date timeCreated)
The time the access request was created.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public AccessRequestSummary.Builder timeUpdated(Date timeUpdated)
The time the access request was last updated.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeExpired
public AccessRequestSummary.Builder timeExpired(Date timeExpired)
The time the access request expired.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Parameters:
timeExpired
- the value to set- Returns:
- this builder
-
ticketNumber
public AccessRequestSummary.Builder ticketNumber(String ticketNumber)
The ticket number raised by external customers Example: 3-37509643121- Parameters:
ticketNumber
- the value to set- Returns:
- this builder
-
freeformTags
public AccessRequestSummary.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 AccessRequestSummary.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 AccessRequestSummary.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 AccessRequestSummary build()
-
copy
public AccessRequestSummary.Builder copy(AccessRequestSummary model)
-
-