@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class ApproveAccessRequestDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the access request approval.
Note: Objects should always be created or deserialized using the ApproveAccessRequestDetails.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 ApproveAccessRequestDetails.Builder
, which maintain a
set of all explicitly set fields called ApproveAccessRequestDetails.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 |
ApproveAccessRequestDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ApproveAccessRequestDetails(String approverComment,
List<String> auditType,
String additionalMessage,
Date timeOfUserCreation)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ApproveAccessRequestDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAdditionalMessage()
Message that needs to be displayed to the Ops User.
|
String |
getApproverComment()
Comment by the approver during approval.
|
List<String> |
getAuditType()
Specifies the type of auditing to be enabled.
|
Date |
getTimeOfUserCreation()
The time when access request is scheduled to be approved in RFC
3339 timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
int |
hashCode() |
ApproveAccessRequestDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"approverComment","auditType","additionalMessage","timeOfUserCreation"}) public ApproveAccessRequestDetails(String approverComment, List<String> auditType, String additionalMessage, Date timeOfUserCreation)
public static ApproveAccessRequestDetails.Builder builder()
Create a new builder.
public ApproveAccessRequestDetails.Builder toBuilder()
public String getApproverComment()
Comment by the approver during approval.
public List<String> getAuditType()
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
public String getAdditionalMessage()
Message that needs to be displayed to the Ops User.
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 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.