Class OperatorControlSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControlSummary
-
@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 theOperatorControlSummary.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 theOperatorControlSummary.Builder
, which maintain a set of all explicitly set fields calledOperatorControlSummary.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
OperatorControlSummary.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 applicableDate
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.
-
-
-
Constructor Detail
-
OperatorControlSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static OperatorControlSummary.Builder builder()
Create a new builder.
-
toBuilder
public OperatorControlSummary.Builder toBuilder()
-
getId
public String getId()
The OCID of the operator control.- Returns:
- the value
-
getOperatorControlName
public String getOperatorControlName()
Name of the operator control.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the operator control.- Returns:
- the value
-
getIsFullyPreApproved
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.
- Returns:
- the value
-
getResourceType
public ResourceTypes getResourceType()
resourceType for which the OperatorControl is applicable- Returns:
- the value
-
getNumberOfApprovers
public Integer getNumberOfApprovers()
Number of approvers required to approve an access request.- Returns:
- the value
-
getTimeOfCreation
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’
- Returns:
- the value
-
getTimeOfModification
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’
- Returns:
- the value
-
getTimeOfDeletion
public Date getTimeOfDeletion()
Time when the operator control was deleted, expressed in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Returns:
- the value
-
getLifecycleState
public OperatorControlLifecycleStates getLifecycleState()
The current lifecycle state of the operator control.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only.
- 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.
- 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
-
-