Class OperatorControlAssignment
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControlAssignment
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class OperatorControlAssignment extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn 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 theOperatorControlAssignment.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 theOperatorControlAssignment.Builder, which maintain a set of all explicitly set fields calledOperatorControlAssignment.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 SummaryNested Classes Modifier and Type Class Description static classOperatorControlAssignment.Builder
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperatorControlAssignment.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAssignerId()The OCID of the user who created this operator control assignment.StringgetComment()Comment about the assignment of the operator control to this target resource.StringgetCompartmentId()The OCID of the comparment that contains the operator control assignment.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDetachmentDescription()description containing reason for releasing of OperatorControl.IntegergetErrorCode()The code identifying the error occurred during Assignment operation.StringgetErrorMessage()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.StringgetId()The OCID of the operator control assignment.BooleangetIsAutoApproveDuringMaintenance()The boolean if true would autoApprove during maintenance.BooleangetIsDefaultAssignment()Whether the assignment is a default assignment.BooleangetIsEnforcedAlways()If set, then the target resource is always governed by the operator control.BooleangetIsHypervisorLogForwarded()If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog serverBooleangetIsLogForwarded()If set indicates that the audit logs are being forwarded to the relevant remote logging serverStringgetLifecycleDetails()More in detail about the lifeCycleState.OperatorControlAssignmentLifecycleStatesgetLifecycleState()The current lifcycle state of the OperatorControl.StringgetOpControlName()Name of the operator control name associated.StringgetOperatorControlId()The OCID of the operator control.StringgetRemoteSyslogServerAddress()The address of the remote syslog server where the audit logs are being forwarded to.StringgetRemoteSyslogServerCACert()The CA certificate of the remote syslog server.IntegergetRemoteSyslogServerPort()The listening port of the remote syslog server.StringgetResourceCompartmentId()The OCID of the compartment that contains the target resource.StringgetResourceId()The OCID of the target resource.StringgetResourceName()Name of the target resource.ResourceTypesgetResourceType()resourceType for which the OperatorControlAssignment is applicableDategetTimeAssignmentFrom()The time at which the target resource will be brought under the governance of the operator control expressed in RFC 3339 timestamp format.DategetTimeAssignmentTo()The time at which the target resource will leave the governance of the operator control expressed in RFC 3339 timestamp format.DategetTimeOfAssignment()Time when the operator control assignment is created in RFC 3339 timestamp format.DategetTimeOfDeletion()Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’StringgetUnassignerId()User id who released the operatorControl.inthashCode()OperatorControlAssignment.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
OperatorControlAssignment@Deprecated @ConstructorProperties({"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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static OperatorControlAssignment.Builder builder() Create a new builder.
 - 
toBuilderpublic OperatorControlAssignment.Builder toBuilder() 
 - 
getIdpublic String getId() The OCID of the operator control assignment.- Returns:
- the value
 
 - 
getOperatorControlIdpublic String getOperatorControlId() The OCID of the operator control.- Returns:
- the value
 
 - 
getResourceIdpublic String getResourceId() The OCID of the target resource.- Returns:
- the value
 
 - 
getResourceNamepublic String getResourceName() Name of the target resource.- Returns:
- the value
 
 - 
getResourceCompartmentIdpublic String getResourceCompartmentId() The OCID of the compartment that contains the target resource.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the comparment that contains the operator control assignment.- Returns:
- the value
 
 - 
getResourceTypepublic ResourceTypes getResourceType() resourceType for which the OperatorControlAssignment is applicable- Returns:
- the value
 
 - 
getTimeAssignmentFrompublic 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’ - Returns:
- the value
 
 - 
getTimeAssignmentTopublic 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’ - Returns:
- the value
 
 - 
getIsEnforcedAlwayspublic Boolean getIsEnforcedAlways() If set, then the target resource is always governed by the operator control.- Returns:
- the value
 
 - 
getLifecycleStatepublic OperatorControlAssignmentLifecycleStates getLifecycleState() The current lifcycle state of the OperatorControl.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() More in detail about the lifeCycleState.- Returns:
- the value
 
 - 
getAssignerIdpublic String getAssignerId() The OCID of the user who created this operator control assignment.- Returns:
- the value
 
 - 
getTimeOfAssignmentpublic 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
 
 - 
getCommentpublic String getComment() Comment about the assignment of the operator control to this target resource.- Returns:
- the value
 
 - 
getUnassignerIdpublic String getUnassignerId() User id who released the operatorControl.- Returns:
- the value
 
 - 
getTimeOfDeletionpublic Date getTimeOfDeletion() Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’- Returns:
- the value
 
 - 
getDetachmentDescriptionpublic String getDetachmentDescription() description containing reason for releasing of OperatorControl.- Returns:
- the value
 
 - 
getIsLogForwardedpublic Boolean getIsLogForwarded() If set indicates that the audit logs are being forwarded to the relevant remote logging server- Returns:
- the value
 
 - 
getRemoteSyslogServerAddresspublic 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
 
 - 
getRemoteSyslogServerPortpublic Integer getRemoteSyslogServerPort() The listening port of the remote syslog server.The port range is 0 - 65535. Only TCP supported. - Returns:
- the value
 
 - 
getRemoteSyslogServerCACertpublic String getRemoteSyslogServerCACert() The CA certificate of the remote syslog server.- Returns:
- the value
 
 - 
getIsHypervisorLogForwardedpublic Boolean getIsHypervisorLogForwarded() If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server- Returns:
- the value
 
 - 
getOpControlNamepublic String getOpControlName() Name of the operator control name associated.- Returns:
- the value
 
 - 
getIsAutoApproveDuringMaintenancepublic Boolean getIsAutoApproveDuringMaintenance() The boolean if true would autoApprove during maintenance.- Returns:
- the value
 
 - 
getErrorCodepublic Integer getErrorCode() The code identifying the error occurred during Assignment operation.- Returns:
- the value
 
 - 
getErrorMessagepublic String getErrorMessage() The message describing the error occurred during Assignment operation.- Returns:
- the value
 
 - 
getIsDefaultAssignmentpublic Boolean getIsDefaultAssignment() Whether the assignment is a default assignment.- Returns:
- the value
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-