Class OperatorControlAssignment.Builder
- java.lang.Object
- 
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControlAssignment.Builder
 
- 
- Enclosing class:
- OperatorControlAssignment
 
 public static class OperatorControlAssignment.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorControlAssignment.BuilderassignerId(String assignerId)The OCID of the user who created this operator control assignment.OperatorControlAssignmentbuild()OperatorControlAssignment.Buildercomment(String comment)Comment about the assignment of the operator control to this target resource.OperatorControlAssignment.BuildercompartmentId(String compartmentId)The OCID of the comparment that contains the operator control assignment.OperatorControlAssignment.Buildercopy(OperatorControlAssignment model)OperatorControlAssignment.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OperatorControlAssignment.BuilderdetachmentDescription(String detachmentDescription)description containing reason for releasing of OperatorControl.OperatorControlAssignment.BuildererrorCode(Integer errorCode)The code identifying the error occurred during Assignment operation.OperatorControlAssignment.BuildererrorMessage(String errorMessage)The message describing the error occurred during Assignment operation.OperatorControlAssignment.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OperatorControlAssignment.Builderid(String id)The OCID of the operator control assignment.OperatorControlAssignment.BuilderisAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)The boolean if true would autoApprove during maintenance.OperatorControlAssignment.BuilderisDefaultAssignment(Boolean isDefaultAssignment)Whether the assignment is a default assignment.OperatorControlAssignment.BuilderisEnforcedAlways(Boolean isEnforcedAlways)If set, then the target resource is always governed by the operator control.OperatorControlAssignment.BuilderisHypervisorLogForwarded(Boolean isHypervisorLogForwarded)If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog serverOperatorControlAssignment.BuilderisLogForwarded(Boolean isLogForwarded)If set indicates that the audit logs are being forwarded to the relevant remote logging serverOperatorControlAssignment.BuilderlifecycleDetails(String lifecycleDetails)More in detail about the lifeCycleState.OperatorControlAssignment.BuilderlifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState)The current lifcycle state of the OperatorControl.OperatorControlAssignment.BuilderopControlName(String opControlName)Name of the operator control name associated.OperatorControlAssignment.BuilderoperatorControlId(String operatorControlId)The OCID of the operator control.OperatorControlAssignment.BuilderremoteSyslogServerAddress(String remoteSyslogServerAddress)The address of the remote syslog server where the audit logs are being forwarded to.OperatorControlAssignment.BuilderremoteSyslogServerCACert(String remoteSyslogServerCACert)The CA certificate of the remote syslog server.OperatorControlAssignment.BuilderremoteSyslogServerPort(Integer remoteSyslogServerPort)The listening port of the remote syslog server.OperatorControlAssignment.BuilderresourceCompartmentId(String resourceCompartmentId)The OCID of the compartment that contains the target resource.OperatorControlAssignment.BuilderresourceId(String resourceId)The OCID of the target resource.OperatorControlAssignment.BuilderresourceName(String resourceName)Name of the target resource.OperatorControlAssignment.BuilderresourceType(ResourceTypes resourceType)resourceType for which the OperatorControlAssignment is applicableOperatorControlAssignment.BuildertimeAssignmentFrom(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.BuildertimeAssignmentTo(Date timeAssignmentTo)The time at which the target resource will leave the governance of the operator control expressed in RFC 3339 timestamp format.OperatorControlAssignment.BuildertimeOfAssignment(Date timeOfAssignment)Time when the operator control assignment is created in RFC 3339 timestamp format.OperatorControlAssignment.BuildertimeOfDeletion(Date timeOfDeletion)Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’OperatorControlAssignment.BuilderunassignerId(String unassignerId)User id who released the operatorControl.
 
- 
- 
- 
Method Detail- 
idpublic OperatorControlAssignment.Builder id(String id) The OCID of the operator control assignment.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
operatorControlIdpublic OperatorControlAssignment.Builder operatorControlId(String operatorControlId) The OCID of the operator control.- Parameters:
- operatorControlId- the value to set
- Returns:
- this builder
 
 - 
resourceIdpublic OperatorControlAssignment.Builder resourceId(String resourceId) The OCID of the target resource.- Parameters:
- resourceId- the value to set
- Returns:
- this builder
 
 - 
resourceNamepublic OperatorControlAssignment.Builder resourceName(String resourceName) Name of the target resource.- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
resourceCompartmentIdpublic OperatorControlAssignment.Builder resourceCompartmentId(String resourceCompartmentId) The OCID of the compartment that contains the target resource.- Parameters:
- resourceCompartmentId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic OperatorControlAssignment.Builder compartmentId(String compartmentId) The OCID of the comparment that contains the operator control assignment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic OperatorControlAssignment.Builder resourceType(ResourceTypes resourceType) resourceType for which the OperatorControlAssignment is applicable- Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
timeAssignmentFrompublic 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’ - Parameters:
- timeAssignmentFrom- the value to set
- Returns:
- this builder
 
 - 
timeAssignmentTopublic 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’ - Parameters:
- timeAssignmentTo- the value to set
- Returns:
- this builder
 
 - 
isEnforcedAlwayspublic OperatorControlAssignment.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
 
 - 
lifecycleStatepublic OperatorControlAssignment.Builder lifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState) The current lifcycle state of the OperatorControl.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic OperatorControlAssignment.Builder lifecycleDetails(String lifecycleDetails) More in detail about the lifeCycleState.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
assignerIdpublic OperatorControlAssignment.Builder assignerId(String assignerId) The OCID of the user who created this operator control assignment.- Parameters:
- assignerId- the value to set
- Returns:
- this builder
 
 - 
timeOfAssignmentpublic 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’ - Parameters:
- timeOfAssignment- the value to set
- Returns:
- this builder
 
 - 
commentpublic OperatorControlAssignment.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
 
 - 
unassignerIdpublic OperatorControlAssignment.Builder unassignerId(String unassignerId) User id who released the operatorControl.- Parameters:
- unassignerId- the value to set
- Returns:
- this builder
 
 - 
timeOfDeletionpublic 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’- Parameters:
- timeOfDeletion- the value to set
- Returns:
- this builder
 
 - 
detachmentDescriptionpublic OperatorControlAssignment.Builder detachmentDescription(String detachmentDescription) description containing reason for releasing of OperatorControl.- Parameters:
- detachmentDescription- the value to set
- Returns:
- this builder
 
 - 
isLogForwardedpublic OperatorControlAssignment.Builder isLogForwarded(Boolean isLogForwarded) If set indicates that the audit logs are being forwarded to the relevant remote logging server- Parameters:
- isLogForwarded- the value to set
- Returns:
- this builder
 
 - 
remoteSyslogServerAddresspublic 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. - Parameters:
- remoteSyslogServerAddress- the value to set
- Returns:
- this builder
 
 - 
remoteSyslogServerPortpublic OperatorControlAssignment.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
 
 - 
remoteSyslogServerCACertpublic OperatorControlAssignment.Builder remoteSyslogServerCACert(String remoteSyslogServerCACert) The CA certificate of the remote syslog server.- Parameters:
- remoteSyslogServerCACert- the value to set
- Returns:
- this builder
 
 - 
isHypervisorLogForwardedpublic OperatorControlAssignment.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
 
 - 
opControlNamepublic OperatorControlAssignment.Builder opControlName(String opControlName) Name of the operator control name associated.- Parameters:
- opControlName- the value to set
- Returns:
- this builder
 
 - 
isAutoApproveDuringMaintenancepublic OperatorControlAssignment.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance) The boolean if true would autoApprove during maintenance.- Parameters:
- isAutoApproveDuringMaintenance- the value to set
- Returns:
- this builder
 
 - 
errorCodepublic OperatorControlAssignment.Builder errorCode(Integer errorCode) The code identifying the error occurred during Assignment operation.- Parameters:
- errorCode- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic OperatorControlAssignment.Builder errorMessage(String errorMessage) The message describing the error occurred during Assignment operation.- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
isDefaultAssignmentpublic OperatorControlAssignment.Builder isDefaultAssignment(Boolean isDefaultAssignment) Whether the assignment is a default assignment.- Parameters:
- isDefaultAssignment- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic OperatorControlAssignment.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
 
 - 
buildpublic OperatorControlAssignment build() 
 - 
copypublic OperatorControlAssignment.Builder copy(OperatorControlAssignment model) 
 
- 
 
-