Class CreateOperatorControlAssignmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.operatoraccesscontrol.model.CreateOperatorControlAssignmentDetails.Builder
-
- Enclosing class:
- CreateOperatorControlAssignmentDetails
public static class CreateOperatorControlAssignmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 serverCreateOperatorControlAssignmentDetails.Builder
isLogForwarded(Boolean isLogForwarded)
If set, then the audit logs will be forwarded to the relevant remote logging serverCreateOperatorControlAssignmentDetails.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’
-
-
-
Method Detail
-
operatorControlId
public CreateOperatorControlAssignmentDetails.Builder operatorControlId(String operatorControlId)
The OCID of the operator control that is being assigned to a target resource.- Parameters:
operatorControlId
- the value to set- Returns:
- this builder
-
resourceId
public CreateOperatorControlAssignmentDetails.Builder resourceId(String resourceId)
The OCID of the target resource being brought under the governance of the operator control.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
resourceName
public CreateOperatorControlAssignmentDetails.Builder resourceName(String resourceName)
Name of the target resource.- Parameters:
resourceName
- the value to set- Returns:
- this builder
-
resourceType
public CreateOperatorControlAssignmentDetails.Builder resourceType(ResourceTypes resourceType)
Type of the target resource.- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
resourceCompartmentId
public CreateOperatorControlAssignmentDetails.Builder resourceCompartmentId(String resourceCompartmentId)
The OCID of the compartment that contains the target resource.- Parameters:
resourceCompartmentId
- the value to set- Returns:
- this builder
-
timeAssignmentFrom
public 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’
- Parameters:
timeAssignmentFrom
- the value to set- Returns:
- this builder
-
timeAssignmentTo
public 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’- Parameters:
timeAssignmentTo
- the value to set- Returns:
- this builder
-
compartmentId
public CreateOperatorControlAssignmentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the operator control assignment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
isEnforcedAlways
public CreateOperatorControlAssignmentDetails.Builder isEnforcedAlways(Boolean isEnforcedAlways)
If set, then the target resource is always governed by the operator control.- Parameters:
isEnforcedAlways
- the value to set- Returns:
- this builder
-
comment
public CreateOperatorControlAssignmentDetails.Builder comment(String comment)
Comment about the assignment of the operator control to this target resource.- Parameters:
comment
- the value to set- Returns:
- this builder
-
isLogForwarded
public CreateOperatorControlAssignmentDetails.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 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.
- Parameters:
remoteSyslogServerAddress
- the value to set- Returns:
- this builder
-
remoteSyslogServerPort
public CreateOperatorControlAssignmentDetails.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 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.
- Parameters:
remoteSyslogServerCACert
- the value to set- Returns:
- this builder
-
isHypervisorLogForwarded
public CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
The boolean if true would autoApprove during maintenance.- Parameters:
isAutoApproveDuringMaintenance
- the value to set- Returns:
- this builder
-
freeformTags
public 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.
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateOperatorControlAssignmentDetails.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 CreateOperatorControlAssignmentDetails build()
-
copy
public CreateOperatorControlAssignmentDetails.Builder copy(CreateOperatorControlAssignmentDetails model)
-
-