Class CreateOperatorControlAssignmentDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.operatoraccesscontrol.model.CreateOperatorControlAssignmentDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class CreateOperatorControlAssignmentDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails 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.
Note: Objects should always be created or deserialized using theCreateOperatorControlAssignmentDetails.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 theCreateOperatorControlAssignmentDetails.Builder, which maintain a set of all explicitly set fields calledCreateOperatorControlAssignmentDetails.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 classCreateOperatorControlAssignmentDetails.Builder
-
Constructor Summary
Constructors Constructor 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 isHypervisorLogForwarded, Boolean isAutoApproveDuringMaintenance, 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 CreateOperatorControlAssignmentDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetComment()Comment about the assignment of the operator control to this target resource.StringgetCompartmentId()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.BooleangetIsAutoApproveDuringMaintenance()The boolean if true would autoApprove during maintenance.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, then the audit logs will be forwarded to the relevant remote logging serverStringgetOperatorControlId()The OCID of the operator control that is being assigned to a target resource.StringgetRemoteSyslogServerAddress()The address of the remote syslog server where the audit logs will be 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 being brought under the governance of the operator control.StringgetResourceName()Name of the target resource.ResourceTypesgetResourceType()Type of the target resource.DategetTimeAssignmentFrom()The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format.DategetTimeAssignmentTo()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’inthashCode()CreateOperatorControlAssignmentDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateOperatorControlAssignmentDetails
@Deprecated @ConstructorProperties({"operatorControlId","resourceId","resourceName","resourceType","resourceCompartmentId","timeAssignmentFrom","timeAssignmentTo","compartmentId","isEnforcedAlways","comment","isLogForwarded","remoteSyslogServerAddress","remoteSyslogServerPort","remoteSyslogServerCACert","isHypervisorLogForwarded","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 isHypervisorLogForwarded, Boolean isAutoApproveDuringMaintenance, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static CreateOperatorControlAssignmentDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateOperatorControlAssignmentDetails.Builder toBuilder()
-
getOperatorControlId
public String getOperatorControlId()
The OCID of the operator control that is being assigned to a target resource.- Returns:
- the value
-
getResourceId
public String getResourceId()
The OCID of the target resource being brought under the governance of the operator control.- Returns:
- the value
-
getResourceName
public String getResourceName()
Name of the target resource.- Returns:
- the value
-
getResourceType
public ResourceTypes getResourceType()
Type of the target resource.- Returns:
- the value
-
getResourceCompartmentId
public String getResourceCompartmentId()
The OCID of the compartment that contains the target resource.- 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
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the operator control assignment.- Returns:
- the value
-
getIsEnforcedAlways
public Boolean getIsEnforcedAlways()
If set, then the target resource is always governed by the operator control.- Returns:
- the value
-
getComment
public String getComment()
Comment about the assignment of the operator control to this target resource.- Returns:
- the value
-
getIsLogForwarded
public Boolean getIsLogForwarded()
If set, then the audit logs will be 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 will be 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. Only TCP supported.
- Returns:
- the value
-
getRemoteSyslogServerCACert
public String getRemoteSyslogServerCACert()
The CA certificate of the remote syslog server.Identity of the remote syslog server will be asserted based on this certificate.
- 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
-
getIsAutoApproveDuringMaintenance
public Boolean getIsAutoApproveDuringMaintenance()
The boolean if true would autoApprove during maintenance.- 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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-