public static class AccessRequestSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AccessRequestSummary.Builder |
accessReasonSummary(String accessReasonSummary)
Comment associated with the access request.
|
AccessRequestSummary |
build() |
AccessRequestSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the access request.
|
AccessRequestSummary.Builder |
copy(AccessRequestSummary model) |
AccessRequestSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AccessRequestSummary.Builder |
duration(Integer duration)
Duration in hours for which access is sought on the target resource.
|
AccessRequestSummary.Builder |
extendDuration(Integer extendDuration)
Duration in hours for which extension access is sought on the target resource.
|
AccessRequestSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AccessRequestSummary.Builder |
id(String id)
The OCID of the access request.
|
AccessRequestSummary.Builder |
isAutoApproved(Boolean isAutoApproved)
Whether the access request was automatically approved.
|
AccessRequestSummary.Builder |
lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.
|
AccessRequestSummary.Builder |
lifecycleState(AccessRequestLifecycleStates lifecycleState)
The current state of the AccessRequest.
|
AccessRequestSummary.Builder |
requestId(String requestId)
This is a system-generated identifier.
|
AccessRequestSummary.Builder |
resourceId(String resourceId)
The OCID of the target resource associated with the access request.
|
AccessRequestSummary.Builder |
resourceName(String resourceName)
The name of the target resource.
|
AccessRequestSummary.Builder |
resourceType(ResourceTypes resourceType)
resourceType for which the AccessRequest is applicable
|
AccessRequestSummary.Builder |
severity(AccessRequestSeverities severity)
Priority assigned to the access request by the operator
|
AccessRequestSummary.Builder |
subResourceList(List<String> subResourceList)
The subresources requested for approval.
|
AccessRequestSummary.Builder |
timeOfCreation(Date timeOfCreation)
Time when the access request was created by the operator user in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
AccessRequestSummary.Builder |
timeOfModification(Date timeOfModification)
Time when the access request was last modified in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
AccessRequestSummary.Builder |
timeOfUserCreation(Date timeOfUserCreation)
The time when access request is scheduled to be approved in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
AccessRequestSummary.Builder |
timeRequestedForFutureAccess(Date timeRequestedForFutureAccess)
Time in future when the user for the access request needs to be created in RFC
3339timestamp format.
|
public AccessRequestSummary.Builder id(String id)
The OCID of the access request.
id
- the value to setpublic AccessRequestSummary.Builder requestId(String requestId)
This is a system-generated identifier.
requestId
- the value to setpublic AccessRequestSummary.Builder accessReasonSummary(String accessReasonSummary)
Comment associated with the access request.
accessReasonSummary
- the value to setpublic AccessRequestSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the access request.
compartmentId
- the value to setpublic AccessRequestSummary.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.
resourceId
- the value to setpublic AccessRequestSummary.Builder resourceName(String resourceName)
The name of the target resource.
resourceName
- the value to setpublic AccessRequestSummary.Builder subResourceList(List<String> subResourceList)
The subresources requested for approval.
subResourceList
- the value to setpublic AccessRequestSummary.Builder resourceType(ResourceTypes resourceType)
resourceType for which the AccessRequest is applicable
resourceType
- the value to setpublic AccessRequestSummary.Builder lifecycleState(AccessRequestLifecycleStates lifecycleState)
The current state of the AccessRequest.
lifecycleState
- the value to setpublic AccessRequestSummary.Builder lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.
lifecycleDetails
- the value to setpublic AccessRequestSummary.Builder timeOfCreation(Date timeOfCreation)
Time when the access request was created by the operator user in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
timeOfCreation
- the value to setpublic AccessRequestSummary.Builder timeOfModification(Date timeOfModification)
Time when the access request was last modified in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
timeOfModification
- the value to setpublic AccessRequestSummary.Builder timeOfUserCreation(Date timeOfUserCreation)
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
timeOfUserCreation
- the value to setpublic AccessRequestSummary.Builder duration(Integer duration)
Duration in hours for which access is sought on the target resource.
duration
- the value to setpublic AccessRequestSummary.Builder extendDuration(Integer extendDuration)
Duration in hours for which extension access is sought on the target resource.
extendDuration
- the value to setpublic AccessRequestSummary.Builder severity(AccessRequestSeverities severity)
Priority assigned to the access request by the operator
severity
- the value to setpublic AccessRequestSummary.Builder isAutoApproved(Boolean isAutoApproved)
Whether the access request was automatically approved.
isAutoApproved
- the value to setpublic AccessRequestSummary.Builder timeRequestedForFutureAccess(Date timeRequestedForFutureAccess)
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeRequestedForFutureAccess
- the value to setpublic AccessRequestSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
freeformTags
- the value to setpublic AccessRequestSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
definedTags
- the value to setpublic AccessRequestSummary build()
public AccessRequestSummary.Builder copy(AccessRequestSummary model)
Copyright © 2016–2024. All rights reserved.