Class PrivilegedApiRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.apiaccesscontrol.model.PrivilegedApiRequest.Builder
 
- 
- Enclosing class:
- PrivilegedApiRequest
 
 public static class PrivilegedApiRequest.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivilegedApiRequest.BuilderapproverDetails(List<ApproverDetail> approverDetails)Contains the approver details who have approved the privilegedApi Request during the initial request.PrivilegedApiRequestbuild()PrivilegedApiRequest.BuilderclosureComment(String closureComment)The comment entered by the operator while closing the request.PrivilegedApiRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the access request.PrivilegedApiRequest.Buildercopy(PrivilegedApiRequest model)PrivilegedApiRequest.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PrivilegedApiRequest.BuilderdisplayName(String displayName)Name of the privilegedApi control.PrivilegedApiRequest.BuilderdurationInHrs(Integer durationInHrs)Duration in hours for which access is sought on the target resource.PrivilegedApiRequest.BuilderentityType(String entityType)entityType of resource for which the AccessRequest is applicablePrivilegedApiRequest.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PrivilegedApiRequest.Builderid(String id)The OCID of the privilegedApi request.PrivilegedApiRequest.BuilderlifecycleDetails(String lifecycleDetails)more in detail about the lifeCycleState.PrivilegedApiRequest.BuilderlifecycleState(PrivilegedApiRequest.LifecycleState lifecycleState)The current state of the PrivilegedApiRequest.PrivilegedApiRequest.BuildernotificationTopicId(String notificationTopicId)The OCID of the OCI Notification topic to publish messages related to this privileged api request.PrivilegedApiRequest.BuildernumberOfApproversRequired(Integer numberOfApproversRequired)Number of approvers required to approve an privilegedApi request.PrivilegedApiRequest.BuilderprivilegedApiControlId(String privilegedApiControlId)The OCID of the privilegedApi control governing the target resource.PrivilegedApiRequest.BuilderprivilegedApiControlName(String privilegedApiControlName)Name of the privilegedApi control governing the target resource.PrivilegedApiRequest.BuilderprivilegedOperationList(List<PrivilegedApiRequestOperationDetails> privilegedOperationList)List of api names, attributes for which approval is sought by the user.PrivilegedApiRequest.BuilderreasonDetail(String reasonDetail)Reason in Detail for which the operator is requesting access on the target resource.PrivilegedApiRequest.BuilderreasonSummary(String reasonSummary)Summary comment by the operator creating the access request.PrivilegedApiRequest.BuilderrequestedBy(List<String> requestedBy)List of Users who has created this privilegedApiRequest.PrivilegedApiRequest.BuilderrequestId(String requestId)This is an automatic identifier generated by the system which is easier for human comprehension.PrivilegedApiRequest.BuilderresourceId(String resourceId)The OCID of the target resource associated with the access request.PrivilegedApiRequest.BuilderresourceName(String resourceName)resourceName for which the PrivilegedApiRequest is applicablePrivilegedApiRequest.BuilderresourceType(String resourceType)resourceType for which the AccessRequest is applicablePrivilegedApiRequest.Builderseverity(PrivilegedApiRequestSeverity severity)Priority assigned to the access request by the operatorPrivilegedApiRequest.Builderstate(PrivilegedApiRequest.State state)The current state of the Access Request.PrivilegedApiRequest.BuilderstateDetails(String stateDetails)A message that describes the current state of the PrivilegedApiControl in more detail.PrivilegedApiRequest.BuildersubResourceNameList(List<String> subResourceNameList)The subresource names requested for approval.PrivilegedApiRequest.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PrivilegedApiRequest.BuilderticketNumbers(List<String> ticketNumbers)A list of ticket numbers related to this Privileged Api Access Request, e.g.PrivilegedApiRequest.BuildertimeCreated(Date timeCreated)Time when the privilegedApi request was created in RFC 3339timestamp format.PrivilegedApiRequest.BuildertimeRequestedForFutureAccess(Date timeRequestedForFutureAccess)Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format.PrivilegedApiRequest.BuildertimeUpdated(Date timeUpdated)Time when the privilegedApi request was last modified in RFC 3339timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic PrivilegedApiRequest.Builder id(String id) The OCID of the privilegedApi request.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic PrivilegedApiRequest.Builder displayName(String displayName) Name of the privilegedApi control.The name must be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
requestIdpublic PrivilegedApiRequest.Builder requestId(String requestId) This is an automatic identifier generated by the system which is easier for human comprehension.- Parameters:
- requestId- the value to set
- Returns:
- this builder
 
 - 
reasonSummarypublic PrivilegedApiRequest.Builder reasonSummary(String reasonSummary) Summary comment by the operator creating the access request.- Parameters:
- reasonSummary- the value to set
- Returns:
- this builder
 
 - 
notificationTopicIdpublic PrivilegedApiRequest.Builder notificationTopicId(String notificationTopicId) The OCID of the OCI Notification topic to publish messages related to this privileged api request.- Parameters:
- notificationTopicId- the value to set
- Returns:
- this builder
 
 - 
requestedBypublic PrivilegedApiRequest.Builder requestedBy(List<String> requestedBy) List of Users who has created this privilegedApiRequest.- Parameters:
- requestedBy- the value to set
- Returns:
- this builder
 
 - 
resourceNamepublic PrivilegedApiRequest.Builder resourceName(String resourceName) resourceName for which the PrivilegedApiRequest is applicable- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
resourceIdpublic PrivilegedApiRequest.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. - Parameters:
- resourceId- the value to set
- Returns:
- this builder
 
 - 
subResourceNameListpublic PrivilegedApiRequest.Builder subResourceNameList(List<String> subResourceNameList) The subresource names requested for approval.- Parameters:
- subResourceNameList- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic PrivilegedApiRequest.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the access request.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic PrivilegedApiRequest.Builder resourceType(String resourceType) resourceType for which the AccessRequest is applicable- Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
entityTypepublic PrivilegedApiRequest.Builder entityType(String entityType) entityType of resource for which the AccessRequest is applicable- Parameters:
- entityType- the value to set
- Returns:
- this builder
 
 - 
privilegedOperationListpublic PrivilegedApiRequest.Builder privilegedOperationList(List<PrivilegedApiRequestOperationDetails> privilegedOperationList) List of api names, attributes for which approval is sought by the user.- Parameters:
- privilegedOperationList- the value to set
- Returns:
- this builder
 
 - 
reasonDetailpublic PrivilegedApiRequest.Builder reasonDetail(String reasonDetail) Reason in Detail for which the operator is requesting access on the target resource.- Parameters:
- reasonDetail- the value to set
- Returns:
- this builder
 
 - 
severitypublic PrivilegedApiRequest.Builder severity(PrivilegedApiRequestSeverity severity) Priority assigned to the access request by the operator- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
durationInHrspublic PrivilegedApiRequest.Builder durationInHrs(Integer durationInHrs) Duration in hours for which access is sought on the target resource.- Parameters:
- durationInHrs- the value to set
- Returns:
- this builder
 
 - 
ticketNumberspublic PrivilegedApiRequest.Builder ticketNumbers(List<String> ticketNumbers) A list of ticket numbers related to this Privileged Api Access Request, e.g.Service Request (SR) number and JIRA ticket number. - Parameters:
- ticketNumbers- the value to set
- Returns:
- this builder
 
 - 
statepublic PrivilegedApiRequest.Builder state(PrivilegedApiRequest.State state) The current state of the Access Request.- Parameters:
- state- the value to set
- Returns:
- this builder
 
 - 
stateDetailspublic PrivilegedApiRequest.Builder stateDetails(String stateDetails) A message that describes the current state of the PrivilegedApiControl in more detail.For example, can be used to provide actionable information for a resource in the Failed state. - Parameters:
- stateDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic PrivilegedApiRequest.Builder lifecycleState(PrivilegedApiRequest.LifecycleState lifecycleState) The current state of the PrivilegedApiRequest.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic PrivilegedApiRequest.Builder lifecycleDetails(String lifecycleDetails) more in detail about the lifeCycleState.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PrivilegedApiRequest.Builder timeCreated(Date timeCreated) Time when the privilegedApi request was created in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’ - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic PrivilegedApiRequest.Builder timeUpdated(Date timeUpdated) Time when the privilegedApi request was last modified in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’ - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
closureCommentpublic PrivilegedApiRequest.Builder closureComment(String closureComment) The comment entered by the operator while closing the request.- Parameters:
- closureComment- the value to set
- Returns:
- this builder
 
 - 
privilegedApiControlIdpublic PrivilegedApiRequest.Builder privilegedApiControlId(String privilegedApiControlId) The OCID of the privilegedApi control governing the target resource.- Parameters:
- privilegedApiControlId- the value to set
- Returns:
- this builder
 
 - 
privilegedApiControlNamepublic PrivilegedApiRequest.Builder privilegedApiControlName(String privilegedApiControlName) Name of the privilegedApi control governing the target resource.- Parameters:
- privilegedApiControlName- the value to set
- Returns:
- this builder
 
 - 
numberOfApproversRequiredpublic PrivilegedApiRequest.Builder numberOfApproversRequired(Integer numberOfApproversRequired) Number of approvers required to approve an privilegedApi request.- Parameters:
- numberOfApproversRequired- the value to set
- Returns:
- this builder
 
 - 
approverDetailspublic PrivilegedApiRequest.Builder approverDetails(List<ApproverDetail> approverDetails) Contains the approver details who have approved the privilegedApi Request during the initial request.- Parameters:
- approverDetails- the value to set
- Returns:
- this builder
 
 - 
timeRequestedForFutureAccesspublic PrivilegedApiRequest.Builder timeRequestedForFutureAccess(Date timeRequestedForFutureAccess) Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’ - Parameters:
- timeRequestedForFutureAccess- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic PrivilegedApiRequest.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic PrivilegedApiRequest.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic PrivilegedApiRequest.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic PrivilegedApiRequest build() 
 - 
copypublic PrivilegedApiRequest.Builder copy(PrivilegedApiRequest model) 
 
- 
 
-