Class DelegatedResourceAccessRequestSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.delegateaccesscontrol.model.DelegatedResourceAccessRequestSummary
-
@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 theDelegatedResourceAccessRequestSummary.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 theDelegatedResourceAccessRequestSummary.Builder
, which maintain a set of all explicitly set fields calledDelegatedResourceAccessRequestSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DelegatedResourceAccessRequestSummary.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 typeDelegatedResourceAccessRequestStatus
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 operatorMap<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.
-
-
-
Constructor Detail
-
DelegatedResourceAccessRequestSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static DelegatedResourceAccessRequestSummary.Builder builder()
Create a new builder.
-
toBuilder
public DelegatedResourceAccessRequestSummary.Builder toBuilder()
-
getId
public String getId()
The OCID of the Delegated Resource Access Request.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the Delegated Resource Access Request.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Display name.This is generated by the system automatically.
- Returns:
- the value
-
getTicketNumbers
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.
- Returns:
- the value
-
getReasonForRequest
public String getReasonForRequest()
A short description explaining why this Delegated Resource Access Request is needed by the support operator.- Returns:
- the value
-
getTimeAccessRequested
public Date getTimeAccessRequested()
Requested access start time in UTC.- Returns:
- the value
-
getResourceId
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.
- Returns:
- the value
-
getResourceName
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.
- Returns:
- the value
-
getResourceType
public DelegationControlResourceType getResourceType()
Resource type for which the associated Delegation Control is applicable to.- Returns:
- the value
-
getRequestedActionNames
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.
- Returns:
- the value
-
getRequesterType
public DelegatedResourceAccessRequesterType getRequesterType()
Requester type- Returns:
- the value
-
getDelegationControlId
public String getDelegationControlId()
The OCID of the Delegation Control governing the target resource.- Returns:
- the value
-
getSeverity
public DelegatedResourceAccessRequestSeverity getSeverity()
Priority assigned to the Delegated Resource Access Request by the support operator- Returns:
- the value
-
getDurationInHours
public Integer getDurationInHours()
Duration in hours for which access is sought on the target resource.- Returns:
- the value
-
getExtendDurationInHours
public Integer getExtendDurationInHours()
Duration in hours for which extension access is sought on the target resource.- Returns:
- the value
-
getIsAutoApproved
public Boolean getIsAutoApproved()
Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.- Returns:
- the value
-
getLifecycleState
public DelegatedResourceAccessRequest.LifecycleState getLifecycleState()
The current lifecycle state of the Delegated Resource Access Request.- Returns:
- the value
-
getLifecycleStateDetails
public String getLifecycleStateDetails()
Description of the current lifecycle state in more detail.- Returns:
- the value
-
getRequestStatus
public DelegatedResourceAccessRequestStatus getRequestStatus()
The current status of the Delegated Resource Access Request.- Returns:
- the value
-
getTimeCreated
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’.
- Returns:
- the value
-
getTimeUpdated
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’.
- Returns:
- the value
-
getFreeformTags
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"}
- Returns:
- the value
-
getDefinedTags
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"}}
- Returns:
- the value
-
getSystemTags
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"}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-