@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class CreateOperatorControlAssignmentDetails extends Object
Details of the Operator Control assignment. 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.
CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails.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 |
CreateOperatorControlAssignmentDetails.Builder |
Constructor and Description |
---|
CreateOperatorControlAssignmentDetails(String operatorControlId,
String resourceId,
String resourceName,
ResourceTypes resourceType,
String resourceCompartmentId,
Date timeAssignmentFrom,
Date timeAssignmentTo,
String compartmentId,
Boolean isEnforcedAlways,
String comment,
Boolean isLogForwarded,
String remoteSyslogServerAddress,
Integer remoteSyslogServerPort,
String remoteSyslogServerCACert,
Boolean isAutoApproveDuringMaintenance,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateOperatorControlAssignmentDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getComment()
Comment about the assignment of the operator control to this target resource.
|
String |
getCompartmentId()
The OCID of the compartment that contains the operator control assignment.
|
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.
|
Boolean |
getIsAutoApproveDuringMaintenance()
The boolean if true would autoApprove during maintenance.
|
Boolean |
getIsEnforcedAlways()
If set, then the target resource is always governed by the operator control.
|
Boolean |
getIsLogForwarded()
If set, then the audit logs will be forwarded to the relevant remote logging server
|
String |
getOperatorControlId()
The OCID of the operator control that is being assigned to a target resource.
|
String |
getRemoteSyslogServerAddress()
The address of the remote syslog server where the audit logs will be 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 being brought under the governance of the operator control.
|
String |
getResourceName()
Name of the target resource.
|
ResourceTypes |
getResourceType()
Type of the target resource.
|
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’
|
int |
hashCode() |
CreateOperatorControlAssignmentDetails.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"operatorControlId","resourceId","resourceName","resourceType","resourceCompartmentId","timeAssignmentFrom","timeAssignmentTo","compartmentId","isEnforcedAlways","comment","isLogForwarded","remoteSyslogServerAddress","remoteSyslogServerPort","remoteSyslogServerCACert","isAutoApproveDuringMaintenance","freeformTags","definedTags"}) public CreateOperatorControlAssignmentDetails(String operatorControlId, String resourceId, String resourceName, ResourceTypes resourceType, String resourceCompartmentId, Date timeAssignmentFrom, Date timeAssignmentTo, String compartmentId, Boolean isEnforcedAlways, String comment, Boolean isLogForwarded, String remoteSyslogServerAddress, Integer remoteSyslogServerPort, String remoteSyslogServerCACert, Boolean isAutoApproveDuringMaintenance, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static CreateOperatorControlAssignmentDetails.Builder builder()
Create a new builder.
public CreateOperatorControlAssignmentDetails.Builder toBuilder()
public String getOperatorControlId()
The OCID of the operator control that is being assigned to a target resource.
public String getResourceId()
The OCID of the target resource being brought under the governance of the operator control.
public String getResourceName()
Name of the target resource.
public ResourceTypes getResourceType()
Type of the target resource.
public String getResourceCompartmentId()
The OCID of the compartment that contains the target resource.
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 String getCompartmentId()
The OCID of the compartment that contains the operator control assignment.
public Boolean getIsEnforcedAlways()
If set, then the target resource is always governed by the operator control.
public String getComment()
Comment about the assignment of the operator control to this target resource.
public Boolean getIsLogForwarded()
If set, then the audit logs will be forwarded to the relevant remote logging server
public String getRemoteSyslogServerAddress()
The address of the remote syslog server where the audit logs will be 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. Identity of the remote syslog server will be asserted based on this certificate.
public Boolean getIsAutoApproveDuringMaintenance()
The boolean if true would autoApprove during maintenance.
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.