Class PrivilegedApiRequestSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.apiaccesscontrol.model.PrivilegedApiRequestSummary.Builder
-
- Enclosing class:
- PrivilegedApiRequestSummary
public static class PrivilegedApiRequestSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivilegedApiRequestSummarybuild()PrivilegedApiRequestSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the privilegedApi request.PrivilegedApiRequestSummary.Buildercopy(PrivilegedApiRequestSummary model)PrivilegedApiRequestSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PrivilegedApiRequestSummary.BuilderdisplayName(String displayName)Name of the privilegedApi control.PrivilegedApiRequestSummary.BuilderdurationInHrs(Integer durationInHrs)Duration in hours for which access is sought on the target resource.PrivilegedApiRequestSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PrivilegedApiRequestSummary.Builderid(String id)The OCID of the access request.PrivilegedApiRequestSummary.BuilderlifecycleDetails(String lifecycleDetails)More in detail about the lifeCycleState.PrivilegedApiRequestSummary.BuilderlifecycleState(PrivilegedApiRequest.LifecycleState lifecycleState)The current state of the PrivilegedApiRequest.PrivilegedApiRequestSummary.BuilderprivilegedOperationList(List<PrivilegedApiRequestOperationDetails> privilegedOperationList)List of api names, attributes for which approval is sought by the user.PrivilegedApiRequestSummary.BuilderreasonSummary(String reasonSummary)Comment associated with the privilegedApi request.PrivilegedApiRequestSummary.BuilderrequestId(String requestId)This is a system-generated identifier to identity a Request in human readable form in the form of REQYYYYMMDD. PrivilegedApiRequestSummary.BuilderresourceId(String resourceId)The OCID of the target resource associated with the privilegedApi request.PrivilegedApiRequestSummary.BuilderresourceName(String resourceName)resourceName for which the PrivilegedApiRequest is applicablePrivilegedApiRequestSummary.BuilderresourceType(String resourceType)resourceType for which the PrivilegedApiRequest is applicablePrivilegedApiRequestSummary.Builderseverity(PrivilegedApiRequestSeverity severity)Priority assigned to the privilegedApi request by the operatorPrivilegedApiRequestSummary.Builderstate(PrivilegedApiRequest.State state)The current state of the Access Request.PrivilegedApiRequestSummary.BuildersubResourceNameList(List<String> subResourceNameList)The subresource names requested for approval.PrivilegedApiRequestSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PrivilegedApiRequestSummary.BuildertimeCreated(Date timeCreated)Time when the privilegedApi request was created by the operator user in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’PrivilegedApiRequestSummary.BuildertimeRequestedForFutureAccess(Date timeRequestedForFutureAccess)Time in future when the user for the access request needs to be created in RFC 3339timestamp format.PrivilegedApiRequestSummary.BuildertimeUpdated(Date timeUpdated)Time when the privilegedApi request was last modified in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
-
-
-
Method Detail
-
id
public PrivilegedApiRequestSummary.Builder id(String id)
The OCID of the access request.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public PrivilegedApiRequestSummary.Builder displayName(String displayName)
Name of the privilegedApi control.The name must be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
requestId
public PrivilegedApiRequestSummary.Builder requestId(String requestId)
This is a system-generated identifier to identity a Request in human readable form in the form of REQYYYYMMDD. - Parameters:
requestId- the value to set- Returns:
- this builder
-
reasonSummary
public PrivilegedApiRequestSummary.Builder reasonSummary(String reasonSummary)
Comment associated with the privilegedApi request.- Parameters:
reasonSummary- the value to set- Returns:
- this builder
-
compartmentId
public PrivilegedApiRequestSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the privilegedApi request.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
resourceName
public PrivilegedApiRequestSummary.Builder resourceName(String resourceName)
resourceName for which the PrivilegedApiRequest is applicable- Parameters:
resourceName- the value to set- Returns:
- this builder
-
resourceId
public PrivilegedApiRequestSummary.Builder resourceId(String resourceId)
The OCID of the target resource associated with the privilegedApi request.The operator raises an privilegedApi request to get approval to access the target resource.
- Parameters:
resourceId- the value to set- Returns:
- this builder
-
subResourceNameList
public PrivilegedApiRequestSummary.Builder subResourceNameList(List<String> subResourceNameList)
The subresource names requested for approval.- Parameters:
subResourceNameList- the value to set- Returns:
- this builder
-
resourceType
public PrivilegedApiRequestSummary.Builder resourceType(String resourceType)
resourceType for which the PrivilegedApiRequest is applicable- Parameters:
resourceType- the value to set- Returns:
- this builder
-
privilegedOperationList
public PrivilegedApiRequestSummary.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
-
state
public PrivilegedApiRequestSummary.Builder state(PrivilegedApiRequest.State state)
The current state of the Access Request.- Parameters:
state- the value to set- Returns:
- this builder
-
lifecycleState
public PrivilegedApiRequestSummary.Builder lifecycleState(PrivilegedApiRequest.LifecycleState lifecycleState)
The current state of the PrivilegedApiRequest.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public PrivilegedApiRequestSummary.Builder lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public PrivilegedApiRequestSummary.Builder timeCreated(Date timeCreated)
Time when the privilegedApi request was created by the operator user in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public PrivilegedApiRequestSummary.Builder timeUpdated(Date timeUpdated)
Time when the privilegedApi request was last modified in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
durationInHrs
public PrivilegedApiRequestSummary.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
-
severity
public PrivilegedApiRequestSummary.Builder severity(PrivilegedApiRequestSeverity severity)
Priority assigned to the privilegedApi request by the operator- Parameters:
severity- the value to set- Returns:
- this builder
-
timeRequestedForFutureAccess
public PrivilegedApiRequestSummary.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’
- Parameters:
timeRequestedForFutureAccess- the value to set- Returns:
- this builder
-
freeformTags
public PrivilegedApiRequestSummary.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 PrivilegedApiRequestSummary.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
-
systemTags
public PrivilegedApiRequestSummary.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"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public PrivilegedApiRequestSummary build()
-
copy
public PrivilegedApiRequestSummary.Builder copy(PrivilegedApiRequestSummary model)
-
-