Class 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 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).
    • Method Detail

      • 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
      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel