@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class OperatorControlSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the OperatorControl.
Note: Objects should always be created or deserialized using the OperatorControlSummary.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 OperatorControlSummary.Builder
, which maintain a
set of all explicitly set fields called OperatorControlSummary.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 |
OperatorControlSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OperatorControlSummary(String id,
String operatorControlName,
String compartmentId,
Boolean isFullyPreApproved,
ResourceTypes resourceType,
Integer numberOfApprovers,
Date timeOfCreation,
Date timeOfModification,
Date timeOfDeletion,
OperatorControlLifecycleStates lifecycleState,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OperatorControlSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the compartment that contains the operator control.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getId()
The OCID of the operator control.
|
Boolean |
getIsFullyPreApproved()
Whether all operator actions are pre-approved.
|
OperatorControlLifecycleStates |
getLifecycleState()
The current lifecycle state of the operator control.
|
Integer |
getNumberOfApprovers()
Number of approvers required to approve an access request.
|
String |
getOperatorControlName()
Name of the operator control.
|
ResourceTypes |
getResourceType()
resourceType for which the OperatorControl is applicable
|
Date |
getTimeOfCreation()
Time when the operator control was created, expressed in [RFC 3339]
(https://tools.ietf.org/html/rfc3339) timestamp format.
|
Date |
getTimeOfDeletion()
Time when the operator control was deleted, expressed in RFC
3339 timestamp format.
|
Date |
getTimeOfModification()
Time when the operator control was last modified, expressed in [RFC 3339]
(https://tools.ietf.org/html/rfc3339) timestamp format.
|
int |
hashCode() |
OperatorControlSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","operatorControlName","compartmentId","isFullyPreApproved","resourceType","numberOfApprovers","timeOfCreation","timeOfModification","timeOfDeletion","lifecycleState","freeformTags","definedTags"}) public OperatorControlSummary(String id, String operatorControlName, String compartmentId, Boolean isFullyPreApproved, ResourceTypes resourceType, Integer numberOfApprovers, Date timeOfCreation, Date timeOfModification, Date timeOfDeletion, OperatorControlLifecycleStates lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static OperatorControlSummary.Builder builder()
Create a new builder.
public OperatorControlSummary.Builder toBuilder()
public String getId()
The OCID of the operator control.
public String getOperatorControlName()
Name of the operator control.
public String getCompartmentId()
The OCID of the compartment that contains the operator control.
public Boolean getIsFullyPreApproved()
Whether all operator actions are pre-approved. If yes, an access request associated with a resource governed by the operator control will be automatically approved by the system.
public ResourceTypes getResourceType()
resourceType for which the OperatorControl is applicable
public Integer getNumberOfApprovers()
Number of approvers required to approve an access request.
public Date getTimeOfCreation()
Time when the operator control was created, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
public Date getTimeOfModification()
Time when the operator control was last modified, expressed in [RFC 3339] (https://tools.ietf.org/html/rfc3339) timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
public Date getTimeOfDeletion()
Time when the operator control was deleted, expressed in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
public OperatorControlLifecycleStates getLifecycleState()
The current lifecycle state of the operator control.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
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.