@Generated(value="OracleSDKGenerator", comments="API Version: 20220126") public final class AccessRequest extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An access request to a customer’s resource. An access request is a subsidiary resource of the
Lockbox entity.
Note: Objects should always be created or deserialized using the AccessRequest.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 AccessRequest.Builder
, which maintain a
set of all explicitly set fields called AccessRequest.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 |
AccessRequest.Builder |
static class |
AccessRequest.LifecycleState
Possible access request lifecycle states.
|
static class |
AccessRequest.LifecycleStateDetails
Details of access request lifecycle state.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AccessRequest(String id,
String lockboxId,
String displayName,
String description,
String requestorId,
AccessRequest.LifecycleState lifecycleState,
AccessRequest.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 AccessRequest.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.
|
AccessRequest.LifecycleState |
getLifecycleState()
Possible access request lifecycle states.
|
AccessRequest.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 |
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() |
AccessRequest.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","lockboxId","displayName","description","requestorId","lifecycleState","lifecycleStateDetails","accessDuration","context","activityLogs","timeCreated","timeUpdated","timeExpired","timeReminded","reminderCount","requestorLocation","ticketNumber"}) public AccessRequest(String id, String lockboxId, String displayName, String description, String requestorId, AccessRequest.LifecycleState lifecycleState, AccessRequest.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 AccessRequest.Builder builder()
Create a new builder.
public AccessRequest.Builder toBuilder()
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 AccessRequest.LifecycleState getLifecycleState()
Possible access request lifecycle states.
public AccessRequest.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.