@Generated(value="OracleSDKGenerator", comments="API Version: 20220126") public final class AccessRequestExt extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An access request to a customer’s resource that includes additional requestor metadata. An access
request is a subsidiary resource of the Lockbox entity.
Note: Objects should always be created or deserialized using the AccessRequestExt.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 AccessRequestExt.Builder
, which maintain a
set of all explicitly set fields called AccessRequestExt.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 |
AccessRequestExt.Builder |
static class |
AccessRequestExt.LifecycleState
Possible access request lifecycle states.
|
static class |
AccessRequestExt.LifecycleStateDetails
Details of access request lifecycle state.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AccessRequestExt(String requestorUserName,
String id,
String lockboxId,
String displayName,
String description,
String requestorId,
AccessRequestExt.LifecycleState lifecycleState,
AccessRequestExt.LifecycleStateDetails lifecycleStateDetails,
String accessDuration,
Map<String,String> context,
List<ActivityLog> activityLogs,
Date timeCreated,
Date timeUpdated,
Date timeExpired,
Date timeReminded,
Integer reminderCount,
String requestorLocation,
String ticketNumber)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AccessRequestExt.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAccessDuration()
The maximum amount of time operator has access to associated resources.
|
List<ActivityLog> |
getActivityLogs()
The actions taken by different persona on the access request, e.g.
|
Map<String,String> |
getContext()
The context object containing the access request specific details.
|
String |
getDescription()
The rationale for requesting the access request and any other related details..
|
String |
getDisplayName()
The name of the access request.
|
String |
getId()
The unique identifier (OCID) of the access request, which can’t be changed after creation.
|
AccessRequestExt.LifecycleState |
getLifecycleState()
Possible access request lifecycle states.
|
AccessRequestExt.LifecycleStateDetails |
getLifecycleStateDetails()
Details of access request lifecycle state.
|
String |
getLockboxId()
The unique identifier (OCID) of the lockbox box that the access request is associated with,
which can’t be changed after creation.
|
Integer |
getReminderCount()
The count of times the access request was reminded.
|
String |
getRequestorId()
The unique identifier of the requestor.
|
String |
getRequestorLocation()
The location of the requestor.
|
String |
getRequestorUserName()
The user name i.e.
|
String |
getTicketNumber()
The ticket number raised by external customers Example:
3-37509643121 |
Date |
getTimeCreated()
The time the access request was created.
|
Date |
getTimeExpired()
The time the access request expired.
|
Date |
getTimeReminded()
The time the access request was last reminded.
|
Date |
getTimeUpdated()
The time the access request was last updated.
|
int |
hashCode() |
AccessRequestExt.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"requestorUserName","id","lockboxId","displayName","description","requestorId","lifecycleState","lifecycleStateDetails","accessDuration","context","activityLogs","timeCreated","timeUpdated","timeExpired","timeReminded","reminderCount","requestorLocation","ticketNumber"}) public AccessRequestExt(String requestorUserName, String id, String lockboxId, String displayName, String description, String requestorId, AccessRequestExt.LifecycleState lifecycleState, AccessRequestExt.LifecycleStateDetails lifecycleStateDetails, String accessDuration, Map<String,String> context, List<ActivityLog> activityLogs, Date timeCreated, Date timeUpdated, Date timeExpired, Date timeReminded, Integer reminderCount, String requestorLocation, String ticketNumber)
public static AccessRequestExt.Builder builder()
Create a new builder.
public AccessRequestExt.Builder toBuilder()
public String getRequestorUserName()
The user name i.e. userId of the requestor.
public String getId()
The unique identifier (OCID) of the access request, which can’t be changed after creation.
public String getLockboxId()
The unique identifier (OCID) of the lockbox box that the access request is associated with, which can’t be changed after creation.
public String getDisplayName()
The name of the access request.
public String getDescription()
The rationale for requesting the access request and any other related details..
public String getRequestorId()
The unique identifier of the requestor.
public AccessRequestExt.LifecycleState getLifecycleState()
Possible access request lifecycle states.
public AccessRequestExt.LifecycleStateDetails getLifecycleStateDetails()
Details of access request lifecycle state.
public String getAccessDuration()
The maximum amount of time operator has access to associated resources.
public Map<String,String> getContext()
The context object containing the access request specific details.
public List<ActivityLog> getActivityLogs()
The actions taken by different persona on the access request, e.g. approve/deny/revoke
public Date getTimeCreated()
The time the access request was created. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
public Date getTimeUpdated()
The time the access request was last updated. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
public Date getTimeExpired()
The time the access request expired. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
public Date getTimeReminded()
The time the access request was last reminded. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
public Integer getReminderCount()
The count of times the access request was reminded.
public String getRequestorLocation()
The location of the requestor. Format with be two letters indicatiog operator’s country code
defined by https://jira-sd.mc1.oracleiaas.com/browse/SSD-17880 Example: US
public String getTicketNumber()
The ticket number raised by external customers Example: 3-37509643121
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.