@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class OperatorControlAssignmentSummary extends Object
Details of the operator control assignment.
Note: Objects should always be created or deserialized using the OperatorControlAssignmentSummary.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 OperatorControlAssignmentSummary.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
OperatorControlAssignmentSummary.Builder |
Constructor and Description |
---|
OperatorControlAssignmentSummary(String id,
String operatorControlId,
String resourceId,
String compartmentId,
ResourceTypes resourceType,
Date timeAssignmentFrom,
Date timeAssignmentTo,
Boolean isEnforcedAlways,
Date timeOfAssignment,
Integer errorCode,
String errorMessage,
Boolean isLogForwarded,
String remoteSyslogServerAddress,
Integer remoteSyslogServerPort,
OperatorControlAssignmentLifecycleStates lifecycleState,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OperatorControlAssignmentSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment that contains the operator control assignment.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
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 |
getIsEnforcedAlways()
If true, then the target resource is always governed by the operator control.
|
Boolean |
getIsLogForwarded()
If set, then the audit logs are being forwarded to the relevant remote logging server
|
OperatorControlAssignmentLifecycleStates |
getLifecycleState()
The current lifcycle state of the OperatorControl.
|
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.
|
Integer |
getRemoteSyslogServerPort()
The listening port of the remote syslog server.
|
String |
getResourceId()
The OCID of the target resource being governed by the operator control.
|
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 in RFC 3339 timestamp format.
|
Date |
getTimeAssignmentTo()
The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
|
Date |
getTimeOfAssignment()
Time when the operator control assignment is created in RFC 3339 timestamp format.
|
int |
hashCode() |
OperatorControlAssignmentSummary.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"id","operatorControlId","resourceId","compartmentId","resourceType","timeAssignmentFrom","timeAssignmentTo","isEnforcedAlways","timeOfAssignment","errorCode","errorMessage","isLogForwarded","remoteSyslogServerAddress","remoteSyslogServerPort","lifecycleState","freeformTags","definedTags"}) public OperatorControlAssignmentSummary(String id, String operatorControlId, String resourceId, String compartmentId, ResourceTypes resourceType, Date timeAssignmentFrom, Date timeAssignmentTo, Boolean isEnforcedAlways, Date timeOfAssignment, Integer errorCode, String errorMessage, Boolean isLogForwarded, String remoteSyslogServerAddress, Integer remoteSyslogServerPort, OperatorControlAssignmentLifecycleStates lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static OperatorControlAssignmentSummary.Builder builder()
Create a new builder.
public OperatorControlAssignmentSummary.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 being governed by the operator control.
public String getCompartmentId()
The OCID of the compartment 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 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 in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
public Boolean getIsEnforcedAlways()
If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom.
public Date getTimeOfAssignment()
Time when the operator control assignment is created in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
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 getIsLogForwarded()
If set, then 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.
public OperatorControlAssignmentLifecycleStates getLifecycleState()
The current lifcycle state of the OperatorControl.
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.
Copyright © 2016–2022. All rights reserved.