public static class DelegatedResourceAccessRequestSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DelegatedResourceAccessRequestSummary |
build() |
DelegatedResourceAccessRequestSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegated Resource Access Request.
|
DelegatedResourceAccessRequestSummary.Builder |
copy(DelegatedResourceAccessRequestSummary model) |
DelegatedResourceAccessRequestSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DelegatedResourceAccessRequestSummary.Builder |
delegationControlId(String delegationControlId)
The OCID of the Delegation Control governing the target resource.
|
DelegatedResourceAccessRequestSummary.Builder |
displayName(String displayName)
Display name.
|
DelegatedResourceAccessRequestSummary.Builder |
durationInHours(Integer durationInHours)
Duration in hours for which access is sought on the target resource.
|
DelegatedResourceAccessRequestSummary.Builder |
extendDurationInHours(Integer extendDurationInHours)
Duration in hours for which extension access is sought on the target resource.
|
DelegatedResourceAccessRequestSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DelegatedResourceAccessRequestSummary.Builder |
id(String id)
The OCID of the Delegated Resource Access Request.
|
DelegatedResourceAccessRequestSummary.Builder |
isAutoApproved(Boolean isAutoApproved)
Set to true if the request is approved automatically based on
preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated
Delegation Control.
|
DelegatedResourceAccessRequestSummary.Builder |
lifecycleState(DelegatedResourceAccessRequest.LifecycleState lifecycleState)
The current lifecycle state of the Delegated Resource Access Request.
|
DelegatedResourceAccessRequestSummary.Builder |
lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.
|
DelegatedResourceAccessRequestSummary.Builder |
reasonForRequest(String reasonForRequest)
A short description explaining why this Delegated Resource Access Request is needed by
the support operator.
|
DelegatedResourceAccessRequestSummary.Builder |
requestedActionNames(List<String> requestedActionNames)
List of Service Provider Action names for which approval is sought by the support
operator user.
|
DelegatedResourceAccessRequestSummary.Builder |
requesterType(DelegatedResourceAccessRequesterType requesterType)
Requester type
|
DelegatedResourceAccessRequestSummary.Builder |
requestStatus(DelegatedResourceAccessRequestStatus requestStatus)
The current status of the Delegated Resource Access Request.
|
DelegatedResourceAccessRequestSummary.Builder |
resourceId(String resourceId)
The OCID of the target resource associated with the Delegated Resource Access Request.
|
DelegatedResourceAccessRequestSummary.Builder |
resourceName(String resourceName)
The name of the target resource associated with the Delegated Resource Access Request.
|
DelegatedResourceAccessRequestSummary.Builder |
resourceType(DelegationControlResourceType resourceType)
Resource type for which the associated Delegation Control is applicable to.
|
DelegatedResourceAccessRequestSummary.Builder |
severity(DelegatedResourceAccessRequestSeverity severity)
Priority assigned to the Delegated Resource Access Request by the support operator
|
DelegatedResourceAccessRequestSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DelegatedResourceAccessRequestSummary.Builder |
ticketNumbers(List<String> ticketNumbers)
A list of ticket numbers related to this Delegated Resource Access Request, e.g.
|
DelegatedResourceAccessRequestSummary.Builder |
timeAccessRequested(Date timeAccessRequested)
Requested access start time in UTC.
|
DelegatedResourceAccessRequestSummary.Builder |
timeCreated(Date timeCreated)
Time when the Delegated Resource Access Request was created by the support operator user
in RFC 3339 timestamp format, e.g.
|
DelegatedResourceAccessRequestSummary.Builder |
timeUpdated(Date timeUpdated)
Time when the Delegated Resource Access Request was last modified in RFC
3339 timestamp format, e.g.
|
public DelegatedResourceAccessRequestSummary.Builder id(String id)
The OCID of the Delegated Resource Access Request.
id
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegated Resource Access Request.
compartmentId
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder displayName(String displayName)
Display name. This is generated by the system automatically.
displayName
- the value to setpublic DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.Builder timeAccessRequested(Date timeAccessRequested)
Requested access start time in UTC.
timeAccessRequested
- the value to setpublic DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.Builder resourceType(DelegationControlResourceType resourceType)
Resource type for which the associated Delegation Control is applicable to.
resourceType
- the value to setpublic DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.Builder requesterType(DelegatedResourceAccessRequesterType requesterType)
Requester type
requesterType
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder delegationControlId(String delegationControlId)
The OCID of the Delegation Control governing the target resource.
delegationControlId
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder severity(DelegatedResourceAccessRequestSeverity severity)
Priority assigned to the Delegated Resource Access Request by the support operator
severity
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder durationInHours(Integer durationInHours)
Duration in hours for which access is sought on the target resource.
durationInHours
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder extendDurationInHours(Integer extendDurationInHours)
Duration in hours for which extension access is sought on the target resource.
extendDurationInHours
- the value to setpublic DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.Builder lifecycleState(DelegatedResourceAccessRequest.LifecycleState lifecycleState)
The current lifecycle state of the Delegated Resource Access Request.
lifecycleState
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.
lifecycleStateDetails
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder requestStatus(DelegatedResourceAccessRequestStatus requestStatus)
The current status of the Delegated Resource Access Request.
requestStatus
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder timeCreated(Date timeCreated)
Time when the Delegated Resource Access Request was created by the support operator user in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
timeCreated
- the value to setpublic DelegatedResourceAccessRequestSummary.Builder timeUpdated(Date timeUpdated)
Time when the Delegated Resource Access Request was last modified in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
timeUpdated
- the value to setpublic DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary build()
public DelegatedResourceAccessRequestSummary.Builder copy(DelegatedResourceAccessRequestSummary model)
Copyright © 2016–2024. All rights reserved.