@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class OperatorControlAssignment extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An Operator Control Assignment identifies the target resource that is placed under the governance
of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration
ensures that human accesses to the target resource will be governed by Operator Control for the
duration specified.
Note: Objects should always be created or deserialized using the OperatorControlAssignment.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 OperatorControlAssignment.Builder
, which maintain a
set of all explicitly set fields called OperatorControlAssignment.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 |
OperatorControlAssignment.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OperatorControlAssignment(String id,
String operatorControlId,
String resourceId,
String resourceName,
String resourceCompartmentId,
String compartmentId,
ResourceTypes resourceType,
Date timeAssignmentFrom,
Date timeAssignmentTo,
Boolean isEnforcedAlways,
OperatorControlAssignmentLifecycleStates lifecycleState,
String lifecycleDetails,
String assignerId,
Date timeOfAssignment,
String comment,
String unassignerId,
Date timeOfDeletion,
String detachmentDescription,
Boolean isLogForwarded,
String remoteSyslogServerAddress,
Integer remoteSyslogServerPort,
String remoteSyslogServerCACert,
Boolean isHypervisorLogForwarded,
String opControlName,
Boolean isAutoApproveDuringMaintenance,
Integer errorCode,
String errorMessage,
Boolean isDefaultAssignment,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OperatorControlAssignment.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAssignerId()
The OCID of the user who created this operator control assignment.
|
String |
getComment()
Comment about the assignment of the operator control to this target resource.
|
String |
getCompartmentId()
The OCID of the comparment that contains the operator control assignment.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDetachmentDescription()
description containing reason for releasing of OperatorControl.
|
Integer |
getErrorCode()
The code identifying the error occurred during Assignment operation.
|
String |
getErrorMessage()
The message describing the error occurred during Assignment operation.
|
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 assignment.
|
Boolean |
getIsAutoApproveDuringMaintenance()
The boolean if true would autoApprove during maintenance.
|
Boolean |
getIsDefaultAssignment()
Whether the assignment is a default assignment.
|
Boolean |
getIsEnforcedAlways()
If set, then the target resource is always governed by the operator control.
|
Boolean |
getIsHypervisorLogForwarded()
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
|
Boolean |
getIsLogForwarded()
If set indicates that the audit logs are being forwarded to the relevant remote logging
server
|
String |
getLifecycleDetails()
More in detail about the lifeCycleState.
|
OperatorControlAssignmentLifecycleStates |
getLifecycleState()
The current lifcycle state of the OperatorControl.
|
String |
getOpControlName()
Name of the operator control name associated.
|
String |
getOperatorControlId()
The OCID of the operator control.
|
String |
getRemoteSyslogServerAddress()
The address of the remote syslog server where the audit logs are being forwarded to.
|
String |
getRemoteSyslogServerCACert()
The CA certificate of the remote syslog server.
|
Integer |
getRemoteSyslogServerPort()
The listening port of the remote syslog server.
|
String |
getResourceCompartmentId()
The OCID of the compartment that contains the target resource.
|
String |
getResourceId()
The OCID of the target resource.
|
String |
getResourceName()
Name of the target resource.
|
ResourceTypes |
getResourceType()
resourceType for which the OperatorControlAssignment is applicable
|
Date |
getTimeAssignmentFrom()
The time at which the target resource will be brought under the governance of the operator
control expressed in RFC 3339 timestamp format.
|
Date |
getTimeAssignmentTo()
The time at which the target resource will leave the governance of the operator control
expressed in RFC 3339 timestamp format.
|
Date |
getTimeOfAssignment()
Time when the operator control assignment is created in RFC
3339 timestamp format.
|
Date |
getTimeOfDeletion()
Time on which the operator control assignment was deleted in RFC
3339timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
String |
getUnassignerId()
User id who released the operatorControl.
|
int |
hashCode() |
OperatorControlAssignment.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","operatorControlId","resourceId","resourceName","resourceCompartmentId","compartmentId","resourceType","timeAssignmentFrom","timeAssignmentTo","isEnforcedAlways","lifecycleState","lifecycleDetails","assignerId","timeOfAssignment","comment","unassignerId","timeOfDeletion","detachmentDescription","isLogForwarded","remoteSyslogServerAddress","remoteSyslogServerPort","remoteSyslogServerCACert","isHypervisorLogForwarded","opControlName","isAutoApproveDuringMaintenance","errorCode","errorMessage","isDefaultAssignment","freeformTags","definedTags"}) public OperatorControlAssignment(String id, String operatorControlId, String resourceId, String resourceName, String resourceCompartmentId, String compartmentId, ResourceTypes resourceType, Date timeAssignmentFrom, Date timeAssignmentTo, Boolean isEnforcedAlways, OperatorControlAssignmentLifecycleStates lifecycleState, String lifecycleDetails, String assignerId, Date timeOfAssignment, String comment, String unassignerId, Date timeOfDeletion, String detachmentDescription, Boolean isLogForwarded, String remoteSyslogServerAddress, Integer remoteSyslogServerPort, String remoteSyslogServerCACert, Boolean isHypervisorLogForwarded, String opControlName, Boolean isAutoApproveDuringMaintenance, Integer errorCode, String errorMessage, Boolean isDefaultAssignment, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static OperatorControlAssignment.Builder builder()
Create a new builder.
public OperatorControlAssignment.Builder toBuilder()
public String getId()
The OCID of the operator control assignment.
public String getOperatorControlId()
The OCID of the operator control.
public String getResourceId()
The OCID of the target resource.
public String getResourceName()
Name of the target resource.
public String getResourceCompartmentId()
The OCID of the compartment that contains the target resource.
public String getCompartmentId()
The OCID of the comparment that contains the operator control assignment.
public ResourceTypes getResourceType()
resourceType for which the OperatorControlAssignment is applicable
public Date getTimeAssignmentFrom()
The time at which the target resource will be brought under the governance of the operator control expressed in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
public Date getTimeAssignmentTo()
The time at which the target resource will leave the governance of the operator control expressed in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
public Boolean getIsEnforcedAlways()
If set, then the target resource is always governed by the operator control.
public OperatorControlAssignmentLifecycleStates getLifecycleState()
The current lifcycle state of the OperatorControl.
public String getLifecycleDetails()
More in detail about the lifeCycleState.
public String getAssignerId()
The OCID of the user who created this operator control assignment.
public Date getTimeOfAssignment()
Time when the operator control assignment is created in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
public String getComment()
Comment about the assignment of the operator control to this target resource.
public String getUnassignerId()
User id who released the operatorControl.
public Date getTimeOfDeletion()
Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
public String getDetachmentDescription()
description containing reason for releasing of OperatorControl.
public Boolean getIsLogForwarded()
If set indicates that the audit logs are being forwarded to the relevant remote logging server
public String getRemoteSyslogServerAddress()
The address of the remote syslog server where the audit logs are being forwarded to. Address in host or IP format.
public Integer getRemoteSyslogServerPort()
The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
public String getRemoteSyslogServerCACert()
The CA certificate of the remote syslog server.
public Boolean getIsHypervisorLogForwarded()
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
public String getOpControlName()
Name of the operator control name associated.
public Boolean getIsAutoApproveDuringMaintenance()
The boolean if true would autoApprove during maintenance.
public Integer getErrorCode()
The code identifying the error occurred during Assignment operation.
public String getErrorMessage()
The message describing the error occurred during Assignment operation.
public Boolean getIsDefaultAssignment()
Whether the assignment is a default assignment.
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.