public static class OperatorControlAssignmentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OperatorControlAssignmentSummary |
build() |
OperatorControlAssignmentSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control assignment.
|
OperatorControlAssignmentSummary.Builder |
copy(OperatorControlAssignmentSummary model) |
OperatorControlAssignmentSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OperatorControlAssignmentSummary.Builder |
errorCode(Integer errorCode)
The code identifying the error occurred during Assignment operation.
|
OperatorControlAssignmentSummary.Builder |
errorMessage(String errorMessage)
The message describing the error occurred during Assignment operation.
|
OperatorControlAssignmentSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OperatorControlAssignmentSummary.Builder |
id(String id)
The OCID of the operator control assignment.
|
OperatorControlAssignmentSummary.Builder |
isEnforcedAlways(Boolean isEnforcedAlways)
If true, then the target resource is always governed by the operator control.
|
OperatorControlAssignmentSummary.Builder |
isHypervisorLogForwarded(Boolean isHypervisorLogForwarded)
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog
server
|
OperatorControlAssignmentSummary.Builder |
isLogForwarded(Boolean isLogForwarded)
If set, then the audit logs are being forwarded to the relevant remote logging server
|
OperatorControlAssignmentSummary.Builder |
lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.
|
OperatorControlAssignmentSummary.Builder |
lifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState)
The current lifcycle state of the OperatorControl.
|
OperatorControlAssignmentSummary.Builder |
opControlName(String opControlName)
Name of the operator control name associated.
|
OperatorControlAssignmentSummary.Builder |
operatorControlId(String operatorControlId)
The OCID of the operator control.
|
OperatorControlAssignmentSummary.Builder |
remoteSyslogServerAddress(String remoteSyslogServerAddress)
The address of the remote syslog server where the audit logs are being forwarded to.
|
OperatorControlAssignmentSummary.Builder |
remoteSyslogServerPort(Integer remoteSyslogServerPort)
The listening port of the remote syslog server.
|
OperatorControlAssignmentSummary.Builder |
resourceId(String resourceId)
The OCID of the target resource being governed by the operator control.
|
OperatorControlAssignmentSummary.Builder |
resourceName(String resourceName)
Name of the target resource.
|
OperatorControlAssignmentSummary.Builder |
resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControlAssignment is applicable
|
OperatorControlAssignmentSummary.Builder |
timeAssignmentFrom(Date timeAssignmentFrom)
The time at which the target resource will be brought under the governance of the
operator control in RFC 3339 timestamp format.
|
OperatorControlAssignmentSummary.Builder |
timeAssignmentTo(Date timeAssignmentTo)
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’
|
OperatorControlAssignmentSummary.Builder |
timeOfAssignment(Date timeOfAssignment)
Time when the operator control assignment is created in RFC
3339 timestamp format.
|
public OperatorControlAssignmentSummary.Builder id(String id)
The OCID of the operator control assignment.
id
- the value to setpublic OperatorControlAssignmentSummary.Builder operatorControlId(String operatorControlId)
The OCID of the operator control.
operatorControlId
- the value to setpublic OperatorControlAssignmentSummary.Builder resourceId(String resourceId)
The OCID of the target resource being governed by the operator control.
resourceId
- the value to setpublic OperatorControlAssignmentSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control assignment.
compartmentId
- the value to setpublic OperatorControlAssignmentSummary.Builder resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControlAssignment is applicable
resourceType
- the value to setpublic OperatorControlAssignmentSummary.Builder resourceName(String resourceName)
Name of the target resource.
resourceName
- the value to setpublic OperatorControlAssignmentSummary.Builder opControlName(String opControlName)
Name of the operator control name associated.
opControlName
- the value to setpublic OperatorControlAssignmentSummary.Builder timeAssignmentFrom(Date timeAssignmentFrom)
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’
timeAssignmentFrom
- the value to setpublic OperatorControlAssignmentSummary.Builder timeAssignmentTo(Date timeAssignmentTo)
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’
timeAssignmentTo
- the value to setpublic OperatorControlAssignmentSummary.Builder isEnforcedAlways(Boolean isEnforcedAlways)
If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom.
isEnforcedAlways
- the value to setpublic OperatorControlAssignmentSummary.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 OperatorControlAssignmentSummary.Builder errorCode(Integer errorCode)
The code identifying the error occurred during Assignment operation.
errorCode
- the value to setpublic OperatorControlAssignmentSummary.Builder errorMessage(String errorMessage)
The message describing the error occurred during Assignment operation.
errorMessage
- the value to setpublic OperatorControlAssignmentSummary.Builder isLogForwarded(Boolean isLogForwarded)
If set, then the audit logs are being forwarded to the relevant remote logging server
isLogForwarded
- the value to setpublic OperatorControlAssignmentSummary.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 OperatorControlAssignmentSummary.Builder remoteSyslogServerPort(Integer remoteSyslogServerPort)
The listening port of the remote syslog server. The port range is 0 - 65535.
remoteSyslogServerPort
- the value to setpublic OperatorControlAssignmentSummary.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 OperatorControlAssignmentSummary.Builder lifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState)
The current lifcycle state of the OperatorControl.
lifecycleState
- the value to setpublic OperatorControlAssignmentSummary.Builder lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.
lifecycleDetails
- the value to setpublic OperatorControlAssignmentSummary.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 OperatorControlAssignmentSummary.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 OperatorControlAssignmentSummary build()
public OperatorControlAssignmentSummary.Builder copy(OperatorControlAssignmentSummary model)
Copyright © 2016–2024. All rights reserved.