@Generated(value="OracleSDKGenerator", comments="API Version: 20220126") public final class CreateAccessRequestDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The configuration details for a new access request. We don’t accept a compartmentId parameter
because it is implied to be the same as the lockbox as a subsidiary resource. The requestorId is
also based on the caller user info.
Note: Objects should always be created or deserialized using the CreateAccessRequestDetails.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 CreateAccessRequestDetails.Builder
, which maintain a
set of all explicitly set fields called CreateAccessRequestDetails.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 |
CreateAccessRequestDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateAccessRequestDetails(String lockboxId,
String displayName,
String description,
Map<String,String> context,
String accessDuration,
String ticketNumber)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateAccessRequestDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAccessDuration()
The maximum amount of time operator has access to associated resources.
|
Map<String,String> |
getContext()
The context object containing the access request specific details.
|
String |
getDescription()
The rationale for requesting the access request.
|
String |
getDisplayName()
The name of the access request.
|
String |
getLockboxId()
The unique identifier (OCID) of the lockbox box that the access request is associated with
which is immutable.
|
String |
getTicketNumber()
The ticket number raised by external customers Example:
3-37509643121 |
int |
hashCode() |
CreateAccessRequestDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"lockboxId","displayName","description","context","accessDuration","ticketNumber"}) public CreateAccessRequestDetails(String lockboxId, String displayName, String description, Map<String,String> context, String accessDuration, String ticketNumber)
public static CreateAccessRequestDetails.Builder builder()
Create a new builder.
public CreateAccessRequestDetails.Builder toBuilder()
public String getLockboxId()
The unique identifier (OCID) of the lockbox box that the access request is associated with which is immutable.
public String getDisplayName()
The name of the access request.
public String getDescription()
The rationale for requesting the access request.
public Map<String,String> getContext()
The context object containing the access request specific details.
public String getAccessDuration()
The maximum amount of time operator has access to associated resources.
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.