@Generated(value="OracleSDKGenerator", comments="API Version: 20230801") public final class DelegatedResourceAccessRequestApprovalDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Approval info for initial access or extension of a Delegated Resource Access Request
Note: Objects should always be created or deserialized using the DelegatedResourceAccessRequestApprovalDetails.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 DelegatedResourceAccessRequestApprovalDetails.Builder
, which maintain a
set of all explicitly set fields called DelegatedResourceAccessRequestApprovalDetails.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 |
DelegatedResourceAccessRequestApprovalDetails.ApprovalAction
Indicated whether the request is approved or rejected.
|
static class |
DelegatedResourceAccessRequestApprovalDetails.ApprovalType
approval type, initial or extension
|
static class |
DelegatedResourceAccessRequestApprovalDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DelegatedResourceAccessRequestApprovalDetails(DelegatedResourceAccessRequestApprovalDetails.ApprovalAction approvalAction,
Date timeApprovedForAccess,
DelegatedResourceAccessRequestApprovalDetails.ApprovalType approvalType,
String approverComment,
String approverId,
String approverAdditionalMessage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DelegatedResourceAccessRequestApprovalDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
DelegatedResourceAccessRequestApprovalDetails.ApprovalAction |
getApprovalAction()
Indicated whether the request is approved or rejected.
|
DelegatedResourceAccessRequestApprovalDetails.ApprovalType |
getApprovalType()
approval type, initial or extension
|
String |
getApproverAdditionalMessage()
Additional message specified by the approver of the request.
|
String |
getApproverComment()
Comment specified by the approver of the request.
|
String |
getApproverId()
User ID of the approver.
|
Date |
getTimeApprovedForAccess()
Access start time that is actually approved by the customer in RFC
3339timestamp format, e.g.
|
int |
hashCode() |
DelegatedResourceAccessRequestApprovalDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"approvalAction","timeApprovedForAccess","approvalType","approverComment","approverId","approverAdditionalMessage"}) public DelegatedResourceAccessRequestApprovalDetails(DelegatedResourceAccessRequestApprovalDetails.ApprovalAction approvalAction, Date timeApprovedForAccess, DelegatedResourceAccessRequestApprovalDetails.ApprovalType approvalType, String approverComment, String approverId, String approverAdditionalMessage)
public static DelegatedResourceAccessRequestApprovalDetails.Builder builder()
Create a new builder.
public DelegatedResourceAccessRequestApprovalDetails.Builder toBuilder()
public DelegatedResourceAccessRequestApprovalDetails.ApprovalAction getApprovalAction()
Indicated whether the request is approved or rejected.
public Date getTimeApprovedForAccess()
Access start time that is actually approved by the customer in RFC 3339timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
public DelegatedResourceAccessRequestApprovalDetails.ApprovalType getApprovalType()
approval type, initial or extension
public String getApproverComment()
Comment specified by the approver of the request.
public String getApproverId()
User ID of the approver.
public String getApproverAdditionalMessage()
Additional message specified by the approver of the request.
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.