Class OperatorControlAssignmentSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControlAssignmentSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class OperatorControlAssignmentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the operator control assignment.
Note: Objects should always be created or deserialized using theOperatorControlAssignmentSummary.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 theOperatorControlAssignmentSummary.Builder
, which maintain a set of all explicitly set fields calledOperatorControlAssignmentSummary.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
OperatorControlAssignmentSummary.Builder
-
Constructor Summary
Constructors Constructor Description OperatorControlAssignmentSummary(String id, String operatorControlId, String resourceId, String compartmentId, ResourceTypes resourceType, String resourceName, String opControlName, Date timeAssignmentFrom, Date timeAssignmentTo, Boolean isEnforcedAlways, Date timeOfAssignment, Integer errorCode, String errorMessage, Boolean isLogForwarded, String remoteSyslogServerAddress, Integer remoteSyslogServerPort, Boolean isHypervisorLogForwarded, OperatorControlAssignmentLifecycleStates lifecycleState, String lifecycleDetails, 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 OperatorControlAssignmentSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
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
getIsHypervisorLogForwarded()
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog serverBoolean
getIsLogForwarded()
If set, then the audit logs are being forwarded to the relevant remote logging serverString
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.Integer
getRemoteSyslogServerPort()
The listening port of the remote syslog server.String
getResourceId()
The OCID of the target resource being governed by the operator control.String
getResourceName()
Name of the target resource.ResourceTypes
getResourceType()
resourceType for which the OperatorControlAssignment is applicableDate
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()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OperatorControlAssignmentSummary
@Deprecated @ConstructorProperties({"id","operatorControlId","resourceId","compartmentId","resourceType","resourceName","opControlName","timeAssignmentFrom","timeAssignmentTo","isEnforcedAlways","timeOfAssignment","errorCode","errorMessage","isLogForwarded","remoteSyslogServerAddress","remoteSyslogServerPort","isHypervisorLogForwarded","lifecycleState","lifecycleDetails","freeformTags","definedTags"}) public OperatorControlAssignmentSummary(String id, String operatorControlId, String resourceId, String compartmentId, ResourceTypes resourceType, String resourceName, String opControlName, Date timeAssignmentFrom, Date timeAssignmentTo, Boolean isEnforcedAlways, Date timeOfAssignment, Integer errorCode, String errorMessage, Boolean isLogForwarded, String remoteSyslogServerAddress, Integer remoteSyslogServerPort, Boolean isHypervisorLogForwarded, OperatorControlAssignmentLifecycleStates lifecycleState, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static OperatorControlAssignmentSummary.Builder builder()
Create a new builder.
-
toBuilder
public OperatorControlAssignmentSummary.Builder toBuilder()
-
getId
public String getId()
The OCID of the operator control assignment.- Returns:
- the value
-
getOperatorControlId
public String getOperatorControlId()
The OCID of the operator control.- Returns:
- the value
-
getResourceId
public String getResourceId()
The OCID of the target resource being governed by the operator control.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the operator control assignment.- Returns:
- the value
-
getResourceType
public ResourceTypes getResourceType()
resourceType for which the OperatorControlAssignment is applicable- Returns:
- the value
-
getResourceName
public String getResourceName()
Name of the target resource.- Returns:
- the value
-
getOpControlName
public String getOpControlName()
Name of the operator control name associated.- Returns:
- the value
-
getTimeAssignmentFrom
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’
- Returns:
- the value
-
getTimeAssignmentTo
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’- Returns:
- the value
-
getIsEnforcedAlways
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.
- Returns:
- the value
-
getTimeOfAssignment
public Date getTimeOfAssignment()
Time when the operator control assignment is created in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Returns:
- the value
-
getErrorCode
public Integer getErrorCode()
The code identifying the error occurred during Assignment operation.- Returns:
- the value
-
getErrorMessage
public String getErrorMessage()
The message describing the error occurred during Assignment operation.- Returns:
- the value
-
getIsLogForwarded
public Boolean getIsLogForwarded()
If set, then the audit logs are being forwarded to the relevant remote logging server- Returns:
- the value
-
getRemoteSyslogServerAddress
public String getRemoteSyslogServerAddress()
The address of the remote syslog server where the audit logs are being forwarded to.Address in host or IP format.
- Returns:
- the value
-
getRemoteSyslogServerPort
public Integer getRemoteSyslogServerPort()
The listening port of the remote syslog server.The port range is 0 - 65535.
- Returns:
- the value
-
getIsHypervisorLogForwarded
public Boolean getIsHypervisorLogForwarded()
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server- Returns:
- the value
-
getLifecycleState
public OperatorControlAssignmentLifecycleStates getLifecycleState()
The current lifcycle state of the OperatorControl.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
More in detail about the lifeCycleState.- 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
-
-