Class CreatePrivilegedApiRequestDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.apiaccesscontrol.model.CreatePrivilegedApiRequestDetails.Builder
-
- Enclosing class:
- CreatePrivilegedApiRequestDetails
public static class CreatePrivilegedApiRequestDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
reasonSummary
public CreatePrivilegedApiRequestDetails.Builder reasonSummary(String reasonSummary)
Summary comment by the operator creating the access request.- Parameters:
reasonSummary- the value to set- Returns:
- this builder
-
compartmentId
public CreatePrivilegedApiRequestDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
resourceId
public 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
-
subResourceNameList
public CreatePrivilegedApiRequestDetails.Builder subResourceNameList(List<String> subResourceNameList)
The subresource names requested for approval.- Parameters:
subResourceNameList- the value to set- Returns:
- this builder
-
privilegedOperationList
public 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
-
notificationTopicId
public 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
-
reasonDetail
public 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
-
severity
public CreatePrivilegedApiRequestDetails.Builder severity(PrivilegedApiRequestSeverity severity)
Priority assigned to the access request by the operator- Parameters:
severity- the value to set- Returns:
- this builder
-
durationInHrs
public 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
-
ticketNumbers
public 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
-
timeRequestedForFutureAccess
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
build
public CreatePrivilegedApiRequestDetails build()
-
copy
public CreatePrivilegedApiRequestDetails.Builder copy(CreatePrivilegedApiRequestDetails model)
-
-