Class AccessRequestSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.operatoraccesscontrol.model.AccessRequestSummary
-
@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 theAccessRequestSummary.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 theAccessRequestSummary.Builder
, which maintain a set of all explicitly set fields calledAccessRequestSummary.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 Summary
Nested Classes Modifier and Type Class Description static class
AccessRequestSummary.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 applicableAccessRequestSeverities
getSeverity()
Priority assigned to the access request by the operatorList<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.
-
-
-
Constructor Detail
-
AccessRequestSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static AccessRequestSummary.Builder builder()
Create a new builder.
-
toBuilder
public AccessRequestSummary.Builder toBuilder()
-
getId
public String getId()
The OCID of the access request.- Returns:
- the value
-
getRequestId
public String getRequestId()
This is a system-generated identifier.- Returns:
- the value
-
getAccessReasonSummary
public String getAccessReasonSummary()
Comment associated with the access request.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the access request.- Returns:
- the value
-
getResourceId
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.
- Returns:
- the value
-
getResourceName
public String getResourceName()
The name of the target resource.- Returns:
- the value
-
getSubResourceList
public List<String> getSubResourceList()
The subresources requested for approval.- Returns:
- the value
-
getResourceType
public ResourceTypes getResourceType()
resourceType for which the AccessRequest is applicable- Returns:
- the value
-
getLifecycleState
public AccessRequestLifecycleStates getLifecycleState()
The current state of the AccessRequest.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
More in detail about the lifeCycleState.- Returns:
- the value
-
getTimeOfCreation
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’- Returns:
- the value
-
getTimeOfModification
public Date getTimeOfModification()
Time when the access request was last modified in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’- Returns:
- the value
-
getTimeOfUserCreation
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’- Returns:
- the value
-
getDuration
public Integer getDuration()
Duration in hours for which access is sought on the target resource.- Returns:
- the value
-
getExtendDuration
public Integer getExtendDuration()
Duration in hours for which extension access is sought on the target resource.- Returns:
- the value
-
getSeverity
public AccessRequestSeverities getSeverity()
Priority assigned to the access request by the operator- Returns:
- the value
-
getIsAutoApproved
public Boolean getIsAutoApproved()
Whether the access request was automatically approved.- Returns:
- the value
-
getTimeRequestedForFutureAccess
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’
- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only.
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-