public static class CreateOperatorControlAssignmentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateOperatorControlAssignmentDetails |
build() |
CreateOperatorControlAssignmentDetails.Builder |
comment(String comment)
Comment about the assignment of the operator control to this target resource.
|
CreateOperatorControlAssignmentDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control assignment.
|
CreateOperatorControlAssignmentDetails.Builder |
copy(CreateOperatorControlAssignmentDetails model) |
CreateOperatorControlAssignmentDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateOperatorControlAssignmentDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateOperatorControlAssignmentDetails.Builder |
isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
The boolean if true would autoApprove during maintenance.
|
CreateOperatorControlAssignmentDetails.Builder |
isEnforcedAlways(Boolean isEnforcedAlways)
If set, then the target resource is always governed by the operator control.
|
CreateOperatorControlAssignmentDetails.Builder |
isHypervisorLogForwarded(Boolean isHypervisorLogForwarded)
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog
server
|
CreateOperatorControlAssignmentDetails.Builder |
isLogForwarded(Boolean isLogForwarded)
If set, then the audit logs will be forwarded to the relevant remote logging server
|
CreateOperatorControlAssignmentDetails.Builder |
operatorControlId(String operatorControlId)
The OCID of the operator control that is being assigned to a target resource.
|
CreateOperatorControlAssignmentDetails.Builder |
remoteSyslogServerAddress(String remoteSyslogServerAddress)
The address of the remote syslog server where the audit logs will be forwarded to.
|
CreateOperatorControlAssignmentDetails.Builder |
remoteSyslogServerCACert(String remoteSyslogServerCACert)
The CA certificate of the remote syslog server.
|
CreateOperatorControlAssignmentDetails.Builder |
remoteSyslogServerPort(Integer remoteSyslogServerPort)
The listening port of the remote syslog server.
|
CreateOperatorControlAssignmentDetails.Builder |
resourceCompartmentId(String resourceCompartmentId)
The OCID of the compartment that contains the target resource.
|
CreateOperatorControlAssignmentDetails.Builder |
resourceId(String resourceId)
The OCID of the target resource being brought under the governance of the operator
control.
|
CreateOperatorControlAssignmentDetails.Builder |
resourceName(String resourceName)
Name of the target resource.
|
CreateOperatorControlAssignmentDetails.Builder |
resourceType(ResourceTypes resourceType)
Type of the target resource.
|
CreateOperatorControlAssignmentDetails.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.
|
CreateOperatorControlAssignmentDetails.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’
|
public CreateOperatorControlAssignmentDetails.Builder operatorControlId(String operatorControlId)
The OCID of the operator control that is being assigned to a target resource.
operatorControlId
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder resourceId(String resourceId)
The OCID of the target resource being brought under the governance of the operator control.
resourceId
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder resourceName(String resourceName)
Name of the target resource.
resourceName
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder resourceType(ResourceTypes resourceType)
Type of the target resource.
resourceType
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder resourceCompartmentId(String resourceCompartmentId)
The OCID of the compartment that contains the target resource.
resourceCompartmentId
- the value to setpublic CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control assignment.
compartmentId
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder isEnforcedAlways(Boolean isEnforcedAlways)
If set, then the target resource is always governed by the operator control.
isEnforcedAlways
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder comment(String comment)
Comment about the assignment of the operator control to this target resource.
comment
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder isLogForwarded(Boolean isLogForwarded)
If set, then the audit logs will be forwarded to the relevant remote logging server
isLogForwarded
- the value to setpublic CreateOperatorControlAssignmentDetails.Builder remoteSyslogServerAddress(String remoteSyslogServerAddress)
The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
remoteSyslogServerAddress
- the value to setpublic CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails.Builder remoteSyslogServerCACert(String remoteSyslogServerCACert)
The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
remoteSyslogServerCACert
- the value to setpublic CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
The boolean if true would autoApprove during maintenance.
isAutoApproveDuringMaintenance
- the value to setpublic CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails build()
public CreateOperatorControlAssignmentDetails.Builder copy(CreateOperatorControlAssignmentDetails model)
Copyright © 2016–2024. All rights reserved.