Class CreatePrivilegedApiRequestDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.apiaccesscontrol.model.CreatePrivilegedApiRequestDetails.Builder
 
- 
- Enclosing class:
- CreatePrivilegedApiRequestDetails
 
 public static class CreatePrivilegedApiRequestDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePrivilegedApiRequestDetailsbuild()CreatePrivilegedApiRequestDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreatePrivilegedApiRequestDetails.Buildercopy(CreatePrivilegedApiRequestDetails model)CreatePrivilegedApiRequestDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreatePrivilegedApiRequestDetails.BuilderdurationInHrs(Integer durationInHrs)Duration in hours for which access is sought on the target resource.CreatePrivilegedApiRequestDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreatePrivilegedApiRequestDetails.BuildernotificationTopicId(String notificationTopicId)The OCID of the OCI Notification topic to publish messages related to this Privileged Api Request.CreatePrivilegedApiRequestDetails.BuilderprivilegedOperationList(List<PrivilegedApiRequestOperationDetails> privilegedOperationList)List of api names, attributes for which approval is sought by the user.CreatePrivilegedApiRequestDetails.BuilderreasonDetail(String reasonDetail)Reason in detail for which the operator is requesting access on the target resource.CreatePrivilegedApiRequestDetails.BuilderreasonSummary(String reasonSummary)Summary comment by the operator creating the access request.CreatePrivilegedApiRequestDetails.BuilderresourceId(String resourceId)The OCID of the target resource associated with the access request.CreatePrivilegedApiRequestDetails.Builderseverity(PrivilegedApiRequestSeverity severity)Priority assigned to the access request by the operatorCreatePrivilegedApiRequestDetails.BuildersubResourceNameList(List<String> subResourceNameList)The subresource names requested for approval.CreatePrivilegedApiRequestDetails.BuilderticketNumbers(List<String> ticketNumbers)A list of ticket numbers related to this Privileged Api Access Request, e.g.CreatePrivilegedApiRequestDetails.BuildertimeRequestedForFutureAccess(Date timeRequestedForFutureAccess)Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format.
 
- 
- 
- 
Method Detail- 
reasonSummarypublic CreatePrivilegedApiRequestDetails.Builder reasonSummary(String reasonSummary) Summary comment by the operator creating the access request.- Parameters:
- reasonSummary- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreatePrivilegedApiRequestDetails.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceIdpublic CreatePrivilegedApiRequestDetails.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 CreatePrivilegedApiRequestDetails.Builder subResourceNameList(List<String> subResourceNameList) The subresource names requested for approval.- Parameters:
- subResourceNameList- the value to set
- Returns:
- this builder
 
 - 
privilegedOperationListpublic CreatePrivilegedApiRequestDetails.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
 
 - 
notificationTopicIdpublic CreatePrivilegedApiRequestDetails.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
 
 - 
reasonDetailpublic CreatePrivilegedApiRequestDetails.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 CreatePrivilegedApiRequestDetails.Builder severity(PrivilegedApiRequestSeverity severity) Priority assigned to the access request by the operator- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
durationInHrspublic CreatePrivilegedApiRequestDetails.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 CreatePrivilegedApiRequestDetails.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
 
 - 
timeRequestedForFutureAccesspublic CreatePrivilegedApiRequestDetails.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 CreatePrivilegedApiRequestDetails.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 CreatePrivilegedApiRequestDetails.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
 
 - 
buildpublic CreatePrivilegedApiRequestDetails build() 
 - 
copypublic CreatePrivilegedApiRequestDetails.Builder copy(CreatePrivilegedApiRequestDetails model) 
 
- 
 
-