@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AccessRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of access request.
Note: Objects should always be created or deserialized using the AccessRequestSummary.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 the AccessRequestSummary.Builder
, which maintain a
set of all explicitly set fields called AccessRequestSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
AccessRequestSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AccessRequestSummary(String id,
String requestId,
String accessReasonSummary,
String compartmentId,
String resourceId,
String resourceName,
List<String> subResourceList,
ResourceTypes resourceType,
AccessRequestLifecycleStates lifecycleState,
String lifecycleDetails,
Date timeOfCreation,
Date timeOfModification,
Date timeOfUserCreation,
Integer duration,
Integer extendDuration,
AccessRequestSeverities severity,
Boolean isAutoApproved,
Date timeRequestedForFutureAccess,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AccessRequestSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAccessReasonSummary()
Comment associated with the access request.
|
String |
getCompartmentId()
The OCID of the compartment that contains the access request.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
Integer |
getDuration()
Duration in hours for which access is sought on the target resource.
|
Integer |
getExtendDuration()
Duration in hours for which extension access is sought on the target resource.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getId()
The OCID of the access request.
|
Boolean |
getIsAutoApproved()
Whether the access request was automatically approved.
|
String |
getLifecycleDetails()
More in detail about the lifeCycleState.
|
AccessRequestLifecycleStates |
getLifecycleState()
The current state of the AccessRequest.
|
String |
getRequestId()
This is a system-generated identifier.
|
String |
getResourceId()
The OCID of the target resource associated with the access request.
|
String |
getResourceName()
The name of the target resource.
|
ResourceTypes |
getResourceType()
resourceType for which the AccessRequest is applicable
|
AccessRequestSeverities |
getSeverity()
Priority assigned to the access request by the operator
|
List<String> |
getSubResourceList()
The subresources requested for approval.
|
Date |
getTimeOfCreation()
Time when the access request was created by the operator user in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
Date |
getTimeOfModification()
Time when the access request was last modified in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
Date |
getTimeOfUserCreation()
The time when access request is scheduled to be approved in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
Date |
getTimeRequestedForFutureAccess()
Time in future when the user for the access request needs to be created in RFC
3339timestamp format.
|
int |
hashCode() |
AccessRequestSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","requestId","accessReasonSummary","compartmentId","resourceId","resourceName","subResourceList","resourceType","lifecycleState","lifecycleDetails","timeOfCreation","timeOfModification","timeOfUserCreation","duration","extendDuration","severity","isAutoApproved","timeRequestedForFutureAccess","freeformTags","definedTags"}) public AccessRequestSummary(String id, String requestId, String accessReasonSummary, String compartmentId, String resourceId, String resourceName, List<String> subResourceList, ResourceTypes resourceType, AccessRequestLifecycleStates lifecycleState, String lifecycleDetails, Date timeOfCreation, Date timeOfModification, Date timeOfUserCreation, Integer duration, Integer extendDuration, AccessRequestSeverities severity, Boolean isAutoApproved, Date timeRequestedForFutureAccess, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static AccessRequestSummary.Builder builder()
Create a new builder.
public AccessRequestSummary.Builder toBuilder()
public String getId()
The OCID of the access request.
public String getRequestId()
This is a system-generated identifier.
public String getAccessReasonSummary()
Comment associated with the access request.
public String getCompartmentId()
The OCID of the compartment that contains the access request.
public String getResourceId()
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.
public String getResourceName()
The name of the target resource.
public List<String> getSubResourceList()
The subresources requested for approval.
public ResourceTypes getResourceType()
resourceType for which the AccessRequest is applicable
public AccessRequestLifecycleStates getLifecycleState()
The current state of the AccessRequest.
public String getLifecycleDetails()
More in detail about the lifeCycleState.
public Date getTimeOfCreation()
Time when the access request was created by the operator user in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
public Date getTimeOfModification()
Time when the access request was last modified in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
public Date getTimeOfUserCreation()
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
public Integer getDuration()
Duration in hours for which access is sought on the target resource.
public Integer getExtendDuration()
Duration in hours for which extension access is sought on the target resource.
public AccessRequestSeverities getSeverity()
Priority assigned to the access request by the operator
public Boolean getIsAutoApproved()
Whether the access request was automatically approved.
public 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’
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.