public static class DelegatedResourceAccessRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DelegatedResourceAccessRequest.Builder |
approvalInfo(List<DelegatedResourceAccessRequestApprovalDetails> approvalInfo)
In case of single approval, this will have only one item.
|
DelegatedResourceAccessRequest.Builder |
auditTypes(List<DelegatedResourceAccessRequestAuditType> auditTypes)
Specifies the type of auditing to be enabled.
|
DelegatedResourceAccessRequest |
build() |
DelegatedResourceAccessRequest.Builder |
closureComment(String closureComment)
The comment entered by the support operator while closing the request.
|
DelegatedResourceAccessRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegated Resource Access Request.
|
DelegatedResourceAccessRequest.Builder |
copy(DelegatedResourceAccessRequest model) |
DelegatedResourceAccessRequest.Builder |
databaseNameList(List<String> databaseNameList)
List of Database unique names for which access is requested.
|
DelegatedResourceAccessRequest.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DelegatedResourceAccessRequest.Builder |
delegationControlId(String delegationControlId)
The OCID of the Delegation Control governing the target resource.
|
DelegatedResourceAccessRequest.Builder |
delegationSubscriptionIds(List<String> delegationSubscriptionIds)
List of Delegation Subscription OCID that are associated with this Delegated Resource
Access Request based on the service types being requested.
|
DelegatedResourceAccessRequest.Builder |
description(String description)
Detailed description of this Delegated Resource Access Request.
|
DelegatedResourceAccessRequest.Builder |
displayName(String displayName)
Display name.
|
DelegatedResourceAccessRequest.Builder |
durationInHours(Integer durationInHours)
Duration in hours for which access is sought on the target resource.
|
DelegatedResourceAccessRequest.Builder |
extendDurationInHours(Integer extendDurationInHours)
Duration in hours for which extension access is sought on the target resource.
|
DelegatedResourceAccessRequest.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DelegatedResourceAccessRequest.Builder |
id(String id)
The OCID of the Delegated Resource Access Request.
|
DelegatedResourceAccessRequest.Builder |
isAutoApproved(Boolean isAutoApproved)
Set to true if the request is approved automatically based on
preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated
Delegation Control.
|
DelegatedResourceAccessRequest.Builder |
isPendingMoreInfo(Boolean isPendingMoreInfo)
Indicates if the delegated resource access request is waiting on more information from
the operator
|
DelegatedResourceAccessRequest.Builder |
lifecycleState(DelegatedResourceAccessRequest.LifecycleState lifecycleState)
The current lifecycle state of the Delegated Resource Access Request.
|
DelegatedResourceAccessRequest.Builder |
lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.
|
DelegatedResourceAccessRequest.Builder |
numExtensionApprovals(Integer numExtensionApprovals)
Number of extension approvals that have been obtained so far.
|
DelegatedResourceAccessRequest.Builder |
numInitialApprovals(Integer numInitialApprovals)
Number of initial approvals that have been obtained so far.
|
DelegatedResourceAccessRequest.Builder |
providedServiceTypes(List<ServiceProviderServiceType> providedServiceTypes)
List of Service Provider Service Types being provided by the support operator user.
|
DelegatedResourceAccessRequest.Builder |
reasonForRequest(String reasonForRequest)
A short description explaining why this Delegated Resource Access Request is needed by
the support operator.
|
DelegatedResourceAccessRequest.Builder |
requestedActionNames(List<String> requestedActionNames)
List of Service Provider Action names for which approval is sought by the support
operator user.
|
DelegatedResourceAccessRequest.Builder |
requesterType(DelegatedResourceAccessRequesterType requesterType)
Requester type
|
DelegatedResourceAccessRequest.Builder |
requestStatus(DelegatedResourceAccessRequestStatus requestStatus)
The current status of the Delegated Resource Access Request.
|
DelegatedResourceAccessRequest.Builder |
resourceId(String resourceId)
The OCID of the target resource associated with the Delegated Resource Access Request.
|
DelegatedResourceAccessRequest.Builder |
resourceName(String resourceName)
The name of the target resource associated with the Delegated Resource Access Request.
|
DelegatedResourceAccessRequest.Builder |
resourceType(DelegationControlResourceType resourceType)
Resource type for which the associated Delegation Control is applicable to.
|
DelegatedResourceAccessRequest.Builder |
severity(DelegatedResourceAccessRequestSeverity severity)
Priority assigned to the Delegated Resource Access Request by the support operator
|
DelegatedResourceAccessRequest.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DelegatedResourceAccessRequest.Builder |
ticketNumbers(List<String> ticketNumbers)
A list of ticket numbers related to this Delegated Resource Access Request, e.g.
|
DelegatedResourceAccessRequest.Builder |
timeAccessRequested(Date timeAccessRequested)
Requested access start time in UTC.
|
DelegatedResourceAccessRequest.Builder |
timeCreated(Date timeCreated)
Time when the Delegated Resource Access Request was created in RFC
3339timestamp format, e.g.
|
DelegatedResourceAccessRequest.Builder |
timeUpdated(Date timeUpdated)
Time when the Delegated Resource Access Request was last modified in RFC
3339timestamp format, e.g.
|
public DelegatedResourceAccessRequest.Builder id(String id)
The OCID of the Delegated Resource Access Request.
id
- the value to setpublic DelegatedResourceAccessRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegated Resource Access Request.
compartmentId
- the value to setpublic DelegatedResourceAccessRequest.Builder displayName(String displayName)
Display name. This is generated by the system automatically.
displayName
- the value to setpublic DelegatedResourceAccessRequest.Builder ticketNumbers(List<String> ticketNumbers)
A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.
ticketNumbers
- the value to setpublic DelegatedResourceAccessRequest.Builder reasonForRequest(String reasonForRequest)
A short description explaining why this Delegated Resource Access Request is needed by the support operator.
reasonForRequest
- the value to setpublic DelegatedResourceAccessRequest.Builder description(String description)
Detailed description of this Delegated Resource Access Request.
description
- the value to setpublic DelegatedResourceAccessRequest.Builder timeAccessRequested(Date timeAccessRequested)
Requested access start time in UTC.
timeAccessRequested
- the value to setpublic DelegatedResourceAccessRequest.Builder resourceId(String resourceId)
The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.
resourceId
- the value to setpublic DelegatedResourceAccessRequest.Builder resourceName(String resourceName)
The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.
resourceName
- the value to setpublic DelegatedResourceAccessRequest.Builder resourceType(DelegationControlResourceType resourceType)
Resource type for which the associated Delegation Control is applicable to.
resourceType
- the value to setpublic DelegatedResourceAccessRequest.Builder requesterType(DelegatedResourceAccessRequesterType requesterType)
Requester type
requesterType
- the value to setpublic DelegatedResourceAccessRequest.Builder requestedActionNames(List<String> requestedActionNames)
List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API.
requestedActionNames
- the value to setpublic DelegatedResourceAccessRequest.Builder databaseNameList(List<String> databaseNameList)
List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed.
databaseNameList
- the value to setpublic DelegatedResourceAccessRequest.Builder providedServiceTypes(List<ServiceProviderServiceType> providedServiceTypes)
List of Service Provider Service Types being provided by the support operator user.
providedServiceTypes
- the value to setpublic DelegatedResourceAccessRequest.Builder delegationSubscriptionIds(List<String> delegationSubscriptionIds)
List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.
delegationSubscriptionIds
- the value to setpublic DelegatedResourceAccessRequest.Builder severity(DelegatedResourceAccessRequestSeverity severity)
Priority assigned to the Delegated Resource Access Request by the support operator
severity
- the value to setpublic DelegatedResourceAccessRequest.Builder durationInHours(Integer durationInHours)
Duration in hours for which access is sought on the target resource.
durationInHours
- the value to setpublic DelegatedResourceAccessRequest.Builder extendDurationInHours(Integer extendDurationInHours)
Duration in hours for which extension access is sought on the target resource.
extendDurationInHours
- the value to setpublic DelegatedResourceAccessRequest.Builder isAutoApproved(Boolean isAutoApproved)
Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
isAutoApproved
- the value to setpublic DelegatedResourceAccessRequest.Builder lifecycleState(DelegatedResourceAccessRequest.LifecycleState lifecycleState)
The current lifecycle state of the Delegated Resource Access Request.
lifecycleState
- the value to setpublic DelegatedResourceAccessRequest.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.
lifecycleStateDetails
- the value to setpublic DelegatedResourceAccessRequest.Builder requestStatus(DelegatedResourceAccessRequestStatus requestStatus)
The current status of the Delegated Resource Access Request.
requestStatus
- the value to setpublic DelegatedResourceAccessRequest.Builder timeCreated(Date timeCreated)
Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
timeCreated
- the value to setpublic DelegatedResourceAccessRequest.Builder timeUpdated(Date timeUpdated)
Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
timeUpdated
- the value to setpublic DelegatedResourceAccessRequest.Builder numInitialApprovals(Integer numInitialApprovals)
Number of initial approvals that have been obtained so far.
numInitialApprovals
- the value to setpublic DelegatedResourceAccessRequest.Builder numExtensionApprovals(Integer numExtensionApprovals)
Number of extension approvals that have been obtained so far.
numExtensionApprovals
- the value to setpublic DelegatedResourceAccessRequest.Builder approvalInfo(List<DelegatedResourceAccessRequestApprovalDetails> approvalInfo)
In case of single approval, this will have only one item. Else, a list of approvals.
approvalInfo
- the value to setpublic DelegatedResourceAccessRequest.Builder closureComment(String closureComment)
The comment entered by the support operator while closing the request.
closureComment
- the value to setpublic DelegatedResourceAccessRequest.Builder delegationControlId(String delegationControlId)
The OCID of the Delegation Control governing the target resource.
delegationControlId
- the value to setpublic DelegatedResourceAccessRequest.Builder auditTypes(List<DelegatedResourceAccessRequestAuditType> auditTypes)
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged.
auditTypes
- the value to setpublic DelegatedResourceAccessRequest.Builder isPendingMoreInfo(Boolean isPendingMoreInfo)
Indicates if the delegated resource access request is waiting on more information from the operator
isPendingMoreInfo
- the value to setpublic DelegatedResourceAccessRequest.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"}
freeformTags
- the value to setpublic DelegatedResourceAccessRequest.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"}}
definedTags
- the value to setpublic DelegatedResourceAccessRequest.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"}}
systemTags
- the value to setpublic DelegatedResourceAccessRequest build()
public DelegatedResourceAccessRequest.Builder copy(DelegatedResourceAccessRequest model)
Copyright © 2016–2024. All rights reserved.