public static class OperatorControlAssignment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OperatorControlAssignment.Builder |
assignerId(String assignerId)
The OCID of the user who created this operator control assignment.
|
OperatorControlAssignment |
build() |
OperatorControlAssignment.Builder |
comment(String comment)
Comment about the assignment of the operator control to this target resource.
|
OperatorControlAssignment.Builder |
compartmentId(String compartmentId)
The OCID of the comparment that contains the operator control assignment.
|
OperatorControlAssignment.Builder |
copy(OperatorControlAssignment model) |
OperatorControlAssignment.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OperatorControlAssignment.Builder |
detachmentDescription(String detachmentDescription)
description containing reason for releasing of OperatorControl.
|
OperatorControlAssignment.Builder |
errorCode(Integer errorCode)
The code identifying the error occurred during Assignment operation.
|
OperatorControlAssignment.Builder |
errorMessage(String errorMessage)
The message describing the error occurred during Assignment operation.
|
OperatorControlAssignment.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OperatorControlAssignment.Builder |
id(String id)
The OCID of the operator control assignment.
|
OperatorControlAssignment.Builder |
isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
The boolean if true would autoApprove during maintenance.
|
OperatorControlAssignment.Builder |
isDefaultAssignment(Boolean isDefaultAssignment)
Whether the assignment is a default assignment.
|
OperatorControlAssignment.Builder |
isEnforcedAlways(Boolean isEnforcedAlways)
If set, then the target resource is always governed by the operator control.
|
OperatorControlAssignment.Builder |
isHypervisorLogForwarded(Boolean isHypervisorLogForwarded)
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog
server
|
OperatorControlAssignment.Builder |
isLogForwarded(Boolean isLogForwarded)
If set indicates that the audit logs are being forwarded to the relevant remote logging
server
|
OperatorControlAssignment.Builder |
lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.
|
OperatorControlAssignment.Builder |
lifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState)
The current lifcycle state of the OperatorControl.
|
OperatorControlAssignment.Builder |
opControlName(String opControlName)
Name of the operator control name associated.
|
OperatorControlAssignment.Builder |
operatorControlId(String operatorControlId)
The OCID of the operator control.
|
OperatorControlAssignment.Builder |
remoteSyslogServerAddress(String remoteSyslogServerAddress)
The address of the remote syslog server where the audit logs are being forwarded to.
|
OperatorControlAssignment.Builder |
remoteSyslogServerCACert(String remoteSyslogServerCACert)
The CA certificate of the remote syslog server.
|
OperatorControlAssignment.Builder |
remoteSyslogServerPort(Integer remoteSyslogServerPort)
The listening port of the remote syslog server.
|
OperatorControlAssignment.Builder |
resourceCompartmentId(String resourceCompartmentId)
The OCID of the compartment that contains the target resource.
|
OperatorControlAssignment.Builder |
resourceId(String resourceId)
The OCID of the target resource.
|
OperatorControlAssignment.Builder |
resourceName(String resourceName)
Name of the target resource.
|
OperatorControlAssignment.Builder |
resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControlAssignment is applicable
|
OperatorControlAssignment.Builder |
timeAssignmentFrom(Date timeAssignmentFrom)
The time at which the target resource will be brought under the governance of the
operator control expressed in RFC 3339 timestamp
format.
|
OperatorControlAssignment.Builder |
timeAssignmentTo(Date timeAssignmentTo)
The time at which the target resource will leave the governance of the operator control
expressed in RFC 3339 timestamp format.
|
OperatorControlAssignment.Builder |
timeOfAssignment(Date timeOfAssignment)
Time when the operator control assignment is created in RFC
3339 timestamp format.
|
OperatorControlAssignment.Builder |
timeOfDeletion(Date timeOfDeletion)
Time on which the operator control assignment was deleted in RFC
3339timestamp format.Example:
‘2020-05-22T21:10:29.600Z’
|
OperatorControlAssignment.Builder |
unassignerId(String unassignerId)
User id who released the operatorControl.
|
public OperatorControlAssignment.Builder id(String id)
The OCID of the operator control assignment.
id
- the value to setpublic OperatorControlAssignment.Builder operatorControlId(String operatorControlId)
The OCID of the operator control.
operatorControlId
- the value to setpublic OperatorControlAssignment.Builder resourceId(String resourceId)
The OCID of the target resource.
resourceId
- the value to setpublic OperatorControlAssignment.Builder resourceName(String resourceName)
Name of the target resource.
resourceName
- the value to setpublic OperatorControlAssignment.Builder resourceCompartmentId(String resourceCompartmentId)
The OCID of the compartment that contains the target resource.
resourceCompartmentId
- the value to setpublic OperatorControlAssignment.Builder compartmentId(String compartmentId)
The OCID of the comparment that contains the operator control assignment.
compartmentId
- the value to setpublic OperatorControlAssignment.Builder resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControlAssignment is applicable
resourceType
- the value to setpublic OperatorControlAssignment.Builder timeAssignmentFrom(Date timeAssignmentFrom)
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’
timeAssignmentFrom
- the value to setpublic OperatorControlAssignment.Builder timeAssignmentTo(Date timeAssignmentTo)
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’
timeAssignmentTo
- the value to setpublic OperatorControlAssignment.Builder isEnforcedAlways(Boolean isEnforcedAlways)
If set, then the target resource is always governed by the operator control.
isEnforcedAlways
- the value to setpublic OperatorControlAssignment.Builder lifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState)
The current lifcycle state of the OperatorControl.
lifecycleState
- the value to setpublic OperatorControlAssignment.Builder lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.
lifecycleDetails
- the value to setpublic OperatorControlAssignment.Builder assignerId(String assignerId)
The OCID of the user who created this operator control assignment.
assignerId
- the value to setpublic OperatorControlAssignment.Builder timeOfAssignment(Date timeOfAssignment)
Time when the operator control assignment is created in RFC 3339 timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeOfAssignment
- the value to setpublic OperatorControlAssignment.Builder comment(String comment)
Comment about the assignment of the operator control to this target resource.
comment
- the value to setpublic OperatorControlAssignment.Builder unassignerId(String unassignerId)
User id who released the operatorControl.
unassignerId
- the value to setpublic OperatorControlAssignment.Builder timeOfDeletion(Date timeOfDeletion)
Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
timeOfDeletion
- the value to setpublic OperatorControlAssignment.Builder detachmentDescription(String detachmentDescription)
description containing reason for releasing of OperatorControl.
detachmentDescription
- the value to setpublic OperatorControlAssignment.Builder isLogForwarded(Boolean isLogForwarded)
If set indicates that the audit logs are being forwarded to the relevant remote logging server
isLogForwarded
- the value to setpublic OperatorControlAssignment.Builder remoteSyslogServerAddress(String remoteSyslogServerAddress)
The address of the remote syslog server where the audit logs are being forwarded to. Address in host or IP format.
remoteSyslogServerAddress
- the value to setpublic OperatorControlAssignment.Builder remoteSyslogServerPort(Integer remoteSyslogServerPort)
The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
remoteSyslogServerPort
- the value to setpublic OperatorControlAssignment.Builder remoteSyslogServerCACert(String remoteSyslogServerCACert)
The CA certificate of the remote syslog server.
remoteSyslogServerCACert
- the value to setpublic OperatorControlAssignment.Builder isHypervisorLogForwarded(Boolean isHypervisorLogForwarded)
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
isHypervisorLogForwarded
- the value to setpublic OperatorControlAssignment.Builder opControlName(String opControlName)
Name of the operator control name associated.
opControlName
- the value to setpublic OperatorControlAssignment.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
The boolean if true would autoApprove during maintenance.
isAutoApproveDuringMaintenance
- the value to setpublic OperatorControlAssignment.Builder errorCode(Integer errorCode)
The code identifying the error occurred during Assignment operation.
errorCode
- the value to setpublic OperatorControlAssignment.Builder errorMessage(String errorMessage)
The message describing the error occurred during Assignment operation.
errorMessage
- the value to setpublic OperatorControlAssignment.Builder isDefaultAssignment(Boolean isDefaultAssignment)
Whether the assignment is a default assignment.
isDefaultAssignment
- the value to setpublic OperatorControlAssignment.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
freeformTags
- the value to setpublic OperatorControlAssignment.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
definedTags
- the value to setpublic OperatorControlAssignment build()
public OperatorControlAssignment.Builder copy(OperatorControlAssignment model)
Copyright © 2016–2024. All rights reserved.