Class UpdateOperatorControlAssignmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.operatoraccesscontrol.model.UpdateOperatorControlAssignmentDetails.Builder
-
- Enclosing class:
- UpdateOperatorControlAssignmentDetails
public static class UpdateOperatorControlAssignmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOperatorControlAssignmentDetails
build()
UpdateOperatorControlAssignmentDetails.Builder
comment(String comment)
Comment about the modification of the operator control assignment.UpdateOperatorControlAssignmentDetails.Builder
copy(UpdateOperatorControlAssignmentDetails model)
UpdateOperatorControlAssignmentDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateOperatorControlAssignmentDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateOperatorControlAssignmentDetails.Builder
isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
The boolean if true would autoApprove during maintenance.UpdateOperatorControlAssignmentDetails.Builder
isEnforcedAlways(Boolean isEnforcedAlways)
If true, then the target resource is always governed by the operator control.UpdateOperatorControlAssignmentDetails.Builder
isHypervisorLogForwarded(Boolean isHypervisorLogForwarded)
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog serverUpdateOperatorControlAssignmentDetails.Builder
isLogForwarded(Boolean isLogForwarded)
If set, then the audit logs will be forwarded to the relevant remote logging serverUpdateOperatorControlAssignmentDetails.Builder
remoteSyslogServerAddress(String remoteSyslogServerAddress)
The address of the remote syslog server where the audit logs will be forwarded to.UpdateOperatorControlAssignmentDetails.Builder
remoteSyslogServerCACert(String remoteSyslogServerCACert)
The CA certificate of the remote syslog server.UpdateOperatorControlAssignmentDetails.Builder
remoteSyslogServerPort(Integer remoteSyslogServerPort)
The listening port of the remote syslog server.UpdateOperatorControlAssignmentDetails.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.UpdateOperatorControlAssignmentDetails.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’
-
-
-
Method Detail
-
timeAssignmentFrom
public UpdateOperatorControlAssignmentDetails.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’
- Parameters:
timeAssignmentFrom
- the value to set- Returns:
- this builder
-
timeAssignmentTo
public UpdateOperatorControlAssignmentDetails.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’- Parameters:
timeAssignmentTo
- the value to set- Returns:
- this builder
-
isEnforcedAlways
public UpdateOperatorControlAssignmentDetails.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.
- Parameters:
isEnforcedAlways
- the value to set- Returns:
- this builder
-
comment
public UpdateOperatorControlAssignmentDetails.Builder comment(String comment)
Comment about the modification of the operator control assignment.- Parameters:
comment
- the value to set- Returns:
- this builder
-
isLogForwarded
public UpdateOperatorControlAssignmentDetails.Builder isLogForwarded(Boolean isLogForwarded)
If set, then the audit logs will be forwarded to the relevant remote logging server- Parameters:
isLogForwarded
- the value to set- Returns:
- this builder
-
remoteSyslogServerAddress
public UpdateOperatorControlAssignmentDetails.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.
- Parameters:
remoteSyslogServerAddress
- the value to set- Returns:
- this builder
-
remoteSyslogServerPort
public UpdateOperatorControlAssignmentDetails.Builder remoteSyslogServerPort(Integer remoteSyslogServerPort)
The listening port of the remote syslog server.The port range is 0 - 65535. Only TCP supported.
- Parameters:
remoteSyslogServerPort
- the value to set- Returns:
- this builder
-
remoteSyslogServerCACert
public UpdateOperatorControlAssignmentDetails.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.
- Parameters:
remoteSyslogServerCACert
- the value to set- Returns:
- this builder
-
isHypervisorLogForwarded
public UpdateOperatorControlAssignmentDetails.Builder isHypervisorLogForwarded(Boolean isHypervisorLogForwarded)
If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server- Parameters:
isHypervisorLogForwarded
- the value to set- Returns:
- this builder
-
isAutoApproveDuringMaintenance
public UpdateOperatorControlAssignmentDetails.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
The boolean if true would autoApprove during maintenance.- Parameters:
isAutoApproveDuringMaintenance
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateOperatorControlAssignmentDetails.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.
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateOperatorControlAssignmentDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdateOperatorControlAssignmentDetails build()
-
copy
public UpdateOperatorControlAssignmentDetails.Builder copy(UpdateOperatorControlAssignmentDetails model)
-
-