@Generated(value="OracleSDKGenerator", comments="API Version: 20230801") public final class DelegatedResourceAccessRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of Delegated Resource Access Request.
Note: Objects should always be created or deserialized using the DelegatedResourceAccessRequestSummary.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 DelegatedResourceAccessRequestSummary.Builder
, which maintain a
set of all explicitly set fields called DelegatedResourceAccessRequestSummary.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 |
DelegatedResourceAccessRequestSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DelegatedResourceAccessRequestSummary(String id,
String compartmentId,
String displayName,
List<String> ticketNumbers,
String reasonForRequest,
Date timeAccessRequested,
String resourceId,
String resourceName,
DelegationControlResourceType resourceType,
List<String> requestedActionNames,
DelegatedResourceAccessRequesterType requesterType,
String delegationControlId,
DelegatedResourceAccessRequestSeverity severity,
Integer durationInHours,
Integer extendDurationInHours,
Boolean isAutoApproved,
DelegatedResourceAccessRequest.LifecycleState lifecycleState,
String lifecycleStateDetails,
DelegatedResourceAccessRequestStatus requestStatus,
Date timeCreated,
Date timeUpdated,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DelegatedResourceAccessRequestSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the compartment that contains the Delegated Resource Access Request.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDelegationControlId()
The OCID of the Delegation Control governing the target resource.
|
String |
getDisplayName()
Display name.
|
Integer |
getDurationInHours()
Duration in hours for which access is sought on the target resource.
|
Integer |
getExtendDurationInHours()
Duration in hours for which extension access is sought on the target resource.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
The OCID of the Delegated Resource Access Request.
|
Boolean |
getIsAutoApproved()
Set to true if the request is approved automatically based on
preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated
Delegation Control.
|
DelegatedResourceAccessRequest.LifecycleState |
getLifecycleState()
The current lifecycle state of the Delegated Resource Access Request.
|
String |
getLifecycleStateDetails()
Description of the current lifecycle state in more detail.
|
String |
getReasonForRequest()
A short description explaining why this Delegated Resource Access Request is needed by the
support operator.
|
List<String> |
getRequestedActionNames()
List of Service Provider Action names for which approval is sought by the support operator
user.
|
DelegatedResourceAccessRequesterType |
getRequesterType()
Requester type
|
DelegatedResourceAccessRequestStatus |
getRequestStatus()
The current status of the Delegated Resource Access Request.
|
String |
getResourceId()
The OCID of the target resource associated with the Delegated Resource Access Request.
|
String |
getResourceName()
The name of the target resource associated with the Delegated Resource Access Request.
|
DelegationControlResourceType |
getResourceType()
Resource type for which the associated Delegation Control is applicable to.
|
DelegatedResourceAccessRequestSeverity |
getSeverity()
Priority assigned to the Delegated Resource Access Request by the support operator
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
List<String> |
getTicketNumbers()
A list of ticket numbers related to this Delegated Resource Access Request, e.g.
|
Date |
getTimeAccessRequested()
Requested access start time in UTC.
|
Date |
getTimeCreated()
Time when the Delegated Resource Access Request was created by the support operator user in
RFC 3339 timestamp format, e.g.
|
Date |
getTimeUpdated()
Time when the Delegated Resource Access Request was last modified in RFC
3339 timestamp format, e.g.
|
int |
hashCode() |
DelegatedResourceAccessRequestSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","displayName","ticketNumbers","reasonForRequest","timeAccessRequested","resourceId","resourceName","resourceType","requestedActionNames","requesterType","delegationControlId","severity","durationInHours","extendDurationInHours","isAutoApproved","lifecycleState","lifecycleStateDetails","requestStatus","timeCreated","timeUpdated","freeformTags","definedTags","systemTags"}) public DelegatedResourceAccessRequestSummary(String id, String compartmentId, String displayName, List<String> ticketNumbers, String reasonForRequest, Date timeAccessRequested, String resourceId, String resourceName, DelegationControlResourceType resourceType, List<String> requestedActionNames, DelegatedResourceAccessRequesterType requesterType, String delegationControlId, DelegatedResourceAccessRequestSeverity severity, Integer durationInHours, Integer extendDurationInHours, Boolean isAutoApproved, DelegatedResourceAccessRequest.LifecycleState lifecycleState, String lifecycleStateDetails, DelegatedResourceAccessRequestStatus requestStatus, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static DelegatedResourceAccessRequestSummary.Builder builder()
Create a new builder.
public DelegatedResourceAccessRequestSummary.Builder toBuilder()
public String getId()
The OCID of the Delegated Resource Access Request.
public String getCompartmentId()
The OCID of the compartment that contains the Delegated Resource Access Request.
public String getDisplayName()
Display name. This is generated by the system automatically.
public List<String> getTicketNumbers()
A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.
public String getReasonForRequest()
A short description explaining why this Delegated Resource Access Request is needed by the support operator.
public Date getTimeAccessRequested()
Requested access start time in UTC.
public String getResourceId()
The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.
public String getResourceName()
The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.
public DelegationControlResourceType getResourceType()
Resource type for which the associated Delegation Control is applicable to.
public List<String> getRequestedActionNames()
List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API.
public DelegatedResourceAccessRequesterType getRequesterType()
Requester type
public String getDelegationControlId()
The OCID of the Delegation Control governing the target resource.
public DelegatedResourceAccessRequestSeverity getSeverity()
Priority assigned to the Delegated Resource Access Request by the support operator
public Integer getDurationInHours()
Duration in hours for which access is sought on the target resource.
public Integer getExtendDurationInHours()
Duration in hours for which extension access is sought on the target resource.
public Boolean getIsAutoApproved()
Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
public DelegatedResourceAccessRequest.LifecycleState getLifecycleState()
The current lifecycle state of the Delegated Resource Access Request.
public String getLifecycleStateDetails()
Description of the current lifecycle state in more detail.
public DelegatedResourceAccessRequestStatus getRequestStatus()
The current status of the Delegated Resource Access Request.
public Date getTimeCreated()
Time when the Delegated Resource Access Request was created by the support operator user in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
public Date getTimeUpdated()
Time when the Delegated Resource Access Request was last modified in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
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.