Class PrivilegedApiRequestSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apiaccesscontrol.model.PrivilegedApiRequestSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20241130") public final class PrivilegedApiRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of access request.
 Note: Objects should always be created or deserialized using thePrivilegedApiRequestSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of thePrivilegedApiRequestSummary.Builder, which maintain a set of all explicitly set fields calledPrivilegedApiRequestSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPrivilegedApiRequestSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description PrivilegedApiRequestSummary(String id, String displayName, String requestId, String reasonSummary, String compartmentId, String resourceName, String resourceId, List<String> subResourceNameList, String resourceType, List<PrivilegedApiRequestOperationDetails> privilegedOperationList, PrivilegedApiRequest.State state, PrivilegedApiRequest.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Integer durationInHrs, PrivilegedApiRequestSeverity severity, Date timeRequestedForFutureAccess, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrivilegedApiRequestSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment that contains the privilegedApi request.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()Name of the privilegedApi control.IntegergetDurationInHrs()Duration in hours for which access is sought on the target resource.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the access request.StringgetLifecycleDetails()More in detail about the lifeCycleState.PrivilegedApiRequest.LifecycleStategetLifecycleState()The current state of the PrivilegedApiRequest.List<PrivilegedApiRequestOperationDetails>getPrivilegedOperationList()List of api names, attributes for which approval is sought by the user.StringgetReasonSummary()Comment associated with the privilegedApi request.StringgetRequestId()This is a system-generated identifier to identity a Request in human readable form in the form of REQYYYYMMDD. StringgetResourceId()The OCID of the target resource associated with the privilegedApi request.StringgetResourceName()resourceName for which the PrivilegedApiRequest is applicableStringgetResourceType()resourceType for which the PrivilegedApiRequest is applicablePrivilegedApiRequestSeveritygetSeverity()Priority assigned to the privilegedApi request by the operatorPrivilegedApiRequest.StategetState()The current state of the Access Request.List<String>getSubResourceNameList()The subresource names requested for approval.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()Time when the privilegedApi request was created by the operator user in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’DategetTimeRequestedForFutureAccess()Time in future when the user for the access request needs to be created in RFC 3339timestamp format.DategetTimeUpdated()Time when the privilegedApi request was last modified in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’inthashCode()PrivilegedApiRequestSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
PrivilegedApiRequestSummary@Deprecated @ConstructorProperties({"id","displayName","requestId","reasonSummary","compartmentId","resourceName","resourceId","subResourceNameList","resourceType","privilegedOperationList","state","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","durationInHrs","severity","timeRequestedForFutureAccess","freeformTags","definedTags","systemTags"}) public PrivilegedApiRequestSummary(String id, String displayName, String requestId, String reasonSummary, String compartmentId, String resourceName, String resourceId, List<String> subResourceNameList, String resourceType, List<PrivilegedApiRequestOperationDetails> privilegedOperationList, PrivilegedApiRequest.State state, PrivilegedApiRequest.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Integer durationInHrs, PrivilegedApiRequestSeverity severity, Date timeRequestedForFutureAccess, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static PrivilegedApiRequestSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic PrivilegedApiRequestSummary.Builder toBuilder() 
 - 
getIdpublic String getId() The OCID of the access request.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() Name of the privilegedApi control.The name must be unique. - Returns:
- the value
 
 - 
getRequestIdpublic String getRequestId() This is a system-generated identifier to identity a Request in human readable form in the form of REQYYYYMMDD. - Returns:
- the value
 
 - 
getReasonSummarypublic String getReasonSummary() Comment associated with the privilegedApi request.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment that contains the privilegedApi request.- Returns:
- the value
 
 - 
getResourceNamepublic String getResourceName() resourceName for which the PrivilegedApiRequest is applicable- Returns:
- the value
 
 - 
getResourceIdpublic String getResourceId() 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. - Returns:
- the value
 
 - 
getSubResourceNameListpublic List<String> getSubResourceNameList() The subresource names requested for approval.- Returns:
- the value
 
 - 
getResourceTypepublic String getResourceType() resourceType for which the PrivilegedApiRequest is applicable- Returns:
- the value
 
 - 
getPrivilegedOperationListpublic List<PrivilegedApiRequestOperationDetails> getPrivilegedOperationList() List of api names, attributes for which approval is sought by the user.- Returns:
- the value
 
 - 
getStatepublic PrivilegedApiRequest.State getState() The current state of the Access Request.- Returns:
- the value
 
 - 
getLifecycleStatepublic PrivilegedApiRequest.LifecycleState getLifecycleState() The current state of the PrivilegedApiRequest.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() More in detail about the lifeCycleState.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() Time when the privilegedApi request was created by the operator user in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() Time when the privilegedApi request was last modified in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’- Returns:
- the value
 
 - 
getDurationInHrspublic Integer getDurationInHrs() Duration in hours for which access is sought on the target resource.- Returns:
- the value
 
 - 
getSeveritypublic PrivilegedApiRequestSeverity getSeverity() Priority assigned to the privilegedApi request by the operator- Returns:
- the value
 
 - 
getTimeRequestedForFutureAccesspublic Date getTimeRequestedForFutureAccess() 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’ - Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() 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"} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} - Returns:
- the value
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-