public static class AccessRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AccessRequest.Builder |
accessReasonSummary(String accessReasonSummary)
Summary comment by the operator creating the access request.
|
AccessRequest.Builder |
actionRequestsList(List<String> actionRequestsList)
List of operator actions for which approval is sought by the operator user.
|
AccessRequest.Builder |
approverComment(String approverComment)
The last recent Comment entered by the approver of the request.
|
AccessRequest.Builder |
approverDetails(List<ApproverDetail> approverDetails)
Contains the user ids who have approved the accessRequest for extension.
|
AccessRequest.Builder |
auditType(List<String> auditType)
Specifies the type of auditing to be enabled.
|
AccessRequest |
build() |
AccessRequest.Builder |
closureComment(String closureComment)
The comment entered by the operator while closing the request.
|
AccessRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the access request.
|
AccessRequest.Builder |
copy(AccessRequest model) |
AccessRequest.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AccessRequest.Builder |
duration(Integer duration)
Duration in hours for which access is sought on the target resource.
|
AccessRequest.Builder |
extendDuration(Integer extendDuration)
Duration in hours for which extension access is sought on the target resource.
|
AccessRequest.Builder |
extensionApproverDetails(List<ApproverDetail> extensionApproverDetails)
Contains the user ids who have approved the accessRequest for extension.
|
AccessRequest.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AccessRequest.Builder |
id(String id)
The OCID of the access request.
|
AccessRequest.Builder |
isAutoApproved(Boolean isAutoApproved)
Whether the access request was automatically approved.
|
AccessRequest.Builder |
isValidateAssignment(Boolean isValidateAssignment)
Whether the access request was requested for Validate Assignment.
|
AccessRequest.Builder |
lifecycleDetails(String lifecycleDetails)
more in detail about the lifeCycleState.
|
AccessRequest.Builder |
lifecycleState(AccessRequestLifecycleStates lifecycleState)
The current state of the AccessRequest.
|
AccessRequest.Builder |
numberOfApprovers(Integer numberOfApprovers)
Number of approvers who have authorized an access request.
|
AccessRequest.Builder |
numberOfApproversRequired(Integer numberOfApproversRequired)
Number of approvers required to approve an access request.
|
AccessRequest.Builder |
numberOfExtensionApprovers(Integer numberOfExtensionApprovers)
Number of approvers who have authorized an access request for extension.
|
AccessRequest.Builder |
opctlAdditionalMessage(String opctlAdditionalMessage)
Additional message specific to the access request that can be specified by the approver
at the time of approval.
|
AccessRequest.Builder |
opctlId(String opctlId)
The OCID of the operator control governing the target resource.
|
AccessRequest.Builder |
opctlName(String opctlName)
Name of the Operator control governing the target resource.
|
AccessRequest.Builder |
operatorId(String operatorId)
A unique identifier associated with the operator who raised the request.
|
AccessRequest.Builder |
reason(String reason)
Summary reason for which the operator is requesting access on the target resource.
|
AccessRequest.Builder |
requestId(String requestId)
This is an automatic identifier generated by the system which is easier for human
comprehension.
|
AccessRequest.Builder |
resourceId(String resourceId)
The OCID of the target resource associated with the access request.
|
AccessRequest.Builder |
resourceName(String resourceName)
The name of the target resource.
|
AccessRequest.Builder |
resourceType(ResourceTypes resourceType)
resourceType for which the AccessRequest is applicable
|
AccessRequest.Builder |
severity(AccessRequestSeverities severity)
Priority assigned to the access request by the operator
|
AccessRequest.Builder |
subResourceList(List<String> subResourceList)
The subresources requested for approval.
|
AccessRequest.Builder |
systemMessage(String systemMessage)
System message that will be displayed to the operator at login to the target resource.
|
AccessRequest.Builder |
timeOfCreation(Date timeOfCreation)
Time when the access request was created in RFC
3339timestamp format.
|
AccessRequest.Builder |
timeOfModification(Date timeOfModification)
Time when the access request was last modified in RFC
3339timestamp format.
|
AccessRequest.Builder |
timeOfUserCreation(Date timeOfUserCreation)
The time when access request is scheduled to be approved in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
AccessRequest.Builder |
timeRequestedForFutureAccess(Date timeRequestedForFutureAccess)
Time in future when the user for the access request needs to be created in RFC
3339timestamp format.
|
AccessRequest.Builder |
userId(String userId)
The OCID of the user that last modified the access request.
|
AccessRequest.Builder |
workflowId(List<String> workflowId)
The OCID of the workflow associated with the access request.
|
public AccessRequest.Builder id(String id)
The OCID of the access request.
id
- the value to setpublic AccessRequest.Builder requestId(String requestId)
This is an automatic identifier generated by the system which is easier for human comprehension.
requestId
- the value to setpublic AccessRequest.Builder accessReasonSummary(String accessReasonSummary)
Summary comment by the operator creating the access request.
accessReasonSummary
- the value to setpublic AccessRequest.Builder operatorId(String operatorId)
A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
operatorId
- the value to setpublic AccessRequest.Builder resourceId(String resourceId)
The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
resourceId
- the value to setpublic AccessRequest.Builder resourceName(String resourceName)
The name of the target resource.
resourceName
- the value to setpublic AccessRequest.Builder subResourceList(List<String> subResourceList)
The subresources requested for approval.
subResourceList
- the value to setpublic AccessRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the access request.
compartmentId
- the value to setpublic AccessRequest.Builder resourceType(ResourceTypes resourceType)
resourceType for which the AccessRequest is applicable
resourceType
- the value to setpublic AccessRequest.Builder actionRequestsList(List<String> actionRequestsList)
List of operator actions for which approval is sought by the operator user.
actionRequestsList
- the value to setpublic AccessRequest.Builder reason(String reason)
Summary reason for which the operator is requesting access on the target resource.
reason
- the value to setpublic AccessRequest.Builder severity(AccessRequestSeverities severity)
Priority assigned to the access request by the operator
severity
- the value to setpublic AccessRequest.Builder duration(Integer duration)
Duration in hours for which access is sought on the target resource.
duration
- the value to setpublic AccessRequest.Builder extendDuration(Integer extendDuration)
Duration in hours for which extension access is sought on the target resource.
extendDuration
- the value to setpublic AccessRequest.Builder workflowId(List<String> workflowId)
The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
workflowId
- the value to setpublic AccessRequest.Builder isAutoApproved(Boolean isAutoApproved)
Whether the access request was automatically approved.
isAutoApproved
- the value to setpublic AccessRequest.Builder lifecycleState(AccessRequestLifecycleStates lifecycleState)
The current state of the AccessRequest.
lifecycleState
- the value to setpublic AccessRequest.Builder lifecycleDetails(String lifecycleDetails)
more in detail about the lifeCycleState.
lifecycleDetails
- the value to setpublic AccessRequest.Builder timeOfCreation(Date timeOfCreation)
Time when the access request was created in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeOfCreation
- the value to setpublic AccessRequest.Builder timeOfModification(Date timeOfModification)
Time when the access request was last modified in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeOfModification
- the value to setpublic AccessRequest.Builder timeOfUserCreation(Date timeOfUserCreation)
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
timeOfUserCreation
- the value to setpublic AccessRequest.Builder userId(String userId)
The OCID of the user that last modified the access request.
userId
- the value to setpublic AccessRequest.Builder approverComment(String approverComment)
The last recent Comment entered by the approver of the request.
approverComment
- the value to setpublic AccessRequest.Builder closureComment(String closureComment)
The comment entered by the operator while closing the request.
closureComment
- the value to setpublic AccessRequest.Builder opctlId(String opctlId)
The OCID of the operator control governing the target resource.
opctlId
- the value to setpublic AccessRequest.Builder opctlName(String opctlName)
Name of the Operator control governing the target resource.
opctlName
- the value to setpublic AccessRequest.Builder systemMessage(String systemMessage)
System message that will be displayed to the operator at login to the target resource.
systemMessage
- the value to setpublic AccessRequest.Builder opctlAdditionalMessage(String opctlAdditionalMessage)
Additional message specific to the access request that can be specified by the approver at the time of approval.
opctlAdditionalMessage
- the value to setpublic AccessRequest.Builder auditType(List<String> auditType)
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
auditType
- the value to setpublic AccessRequest.Builder numberOfApproversRequired(Integer numberOfApproversRequired)
Number of approvers required to approve an access request.
numberOfApproversRequired
- the value to setpublic AccessRequest.Builder numberOfApprovers(Integer numberOfApprovers)
Number of approvers who have authorized an access request.
numberOfApprovers
- the value to setpublic AccessRequest.Builder numberOfExtensionApprovers(Integer numberOfExtensionApprovers)
Number of approvers who have authorized an access request for extension.
numberOfExtensionApprovers
- the value to setpublic AccessRequest.Builder approverDetails(List<ApproverDetail> approverDetails)
Contains the user ids who have approved the accessRequest for extension.
approverDetails
- the value to setpublic AccessRequest.Builder extensionApproverDetails(List<ApproverDetail> extensionApproverDetails)
Contains the user ids who have approved the accessRequest for extension.
extensionApproverDetails
- the value to setpublic AccessRequest.Builder isValidateAssignment(Boolean isValidateAssignment)
Whether the access request was requested for Validate Assignment.
isValidateAssignment
- the value to setpublic AccessRequest.Builder timeRequestedForFutureAccess(Date timeRequestedForFutureAccess)
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeRequestedForFutureAccess
- the value to setpublic AccessRequest.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.
freeformTags
- the value to setpublic AccessRequest.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
definedTags
- the value to setpublic AccessRequest build()
public AccessRequest.Builder copy(AccessRequest model)
Copyright © 2016–2024. All rights reserved.