Class OperatorControlAssignmentSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControlAssignmentSummary.Builder
 
- 
- Enclosing class:
- OperatorControlAssignmentSummary
 
 public static class OperatorControlAssignmentSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorControlAssignmentSummarybuild()OperatorControlAssignmentSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the operator control assignment.OperatorControlAssignmentSummary.Buildercopy(OperatorControlAssignmentSummary model)OperatorControlAssignmentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OperatorControlAssignmentSummary.BuildererrorCode(Integer errorCode)The code identifying the error occurred during Assignment operation.OperatorControlAssignmentSummary.BuildererrorMessage(String errorMessage)The message describing the error occurred during Assignment operation.OperatorControlAssignmentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OperatorControlAssignmentSummary.Builderid(String id)The OCID of the operator control assignment.OperatorControlAssignmentSummary.BuilderisEnforcedAlways(Boolean isEnforcedAlways)If true, then the target resource is always governed by the operator control.OperatorControlAssignmentSummary.BuilderisHypervisorLogForwarded(Boolean isHypervisorLogForwarded)If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog serverOperatorControlAssignmentSummary.BuilderisLogForwarded(Boolean isLogForwarded)If set, then the audit logs are being forwarded to the relevant remote logging serverOperatorControlAssignmentSummary.BuilderlifecycleDetails(String lifecycleDetails)More in detail about the lifeCycleState.OperatorControlAssignmentSummary.BuilderlifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState)The current lifcycle state of the OperatorControl.OperatorControlAssignmentSummary.BuilderopControlName(String opControlName)Name of the operator control name associated.OperatorControlAssignmentSummary.BuilderoperatorControlId(String operatorControlId)The OCID of the operator control.OperatorControlAssignmentSummary.BuilderremoteSyslogServerAddress(String remoteSyslogServerAddress)The address of the remote syslog server where the audit logs are being forwarded to.OperatorControlAssignmentSummary.BuilderremoteSyslogServerPort(Integer remoteSyslogServerPort)The listening port of the remote syslog server.OperatorControlAssignmentSummary.BuilderresourceId(String resourceId)The OCID of the target resource being governed by the operator control.OperatorControlAssignmentSummary.BuilderresourceName(String resourceName)Name of the target resource.OperatorControlAssignmentSummary.BuilderresourceType(ResourceTypes resourceType)resourceType for which the OperatorControlAssignment is applicableOperatorControlAssignmentSummary.BuildertimeAssignmentFrom(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.BuildertimeAssignmentTo(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.BuildertimeOfAssignment(Date timeOfAssignment)Time when the operator control assignment is created in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic OperatorControlAssignmentSummary.Builder id(String id) The OCID of the operator control assignment.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
operatorControlIdpublic OperatorControlAssignmentSummary.Builder operatorControlId(String operatorControlId) The OCID of the operator control.- Parameters:
- operatorControlId- the value to set
- Returns:
- this builder
 
 - 
resourceIdpublic OperatorControlAssignmentSummary.Builder resourceId(String resourceId) The OCID of the target resource being governed by the operator control.- Parameters:
- resourceId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic OperatorControlAssignmentSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the operator control assignment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic OperatorControlAssignmentSummary.Builder resourceType(ResourceTypes resourceType) resourceType for which the OperatorControlAssignment is applicable- Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
resourceNamepublic OperatorControlAssignmentSummary.Builder resourceName(String resourceName) Name of the target resource.- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
opControlNamepublic OperatorControlAssignmentSummary.Builder opControlName(String opControlName) Name of the operator control name associated.- Parameters:
- opControlName- the value to set
- Returns:
- this builder
 
 - 
timeAssignmentFrompublic 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’ - Parameters:
- timeAssignmentFrom- the value to set
- Returns:
- this builder
 
 - 
timeAssignmentTopublic 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’- Parameters:
- timeAssignmentTo- the value to set
- Returns:
- this builder
 
 - 
isEnforcedAlwayspublic 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. - Parameters:
- isEnforcedAlways- the value to set
- Returns:
- this builder
 
 - 
timeOfAssignmentpublic 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’ - Parameters:
- timeOfAssignment- the value to set
- Returns:
- this builder
 
 - 
errorCodepublic OperatorControlAssignmentSummary.Builder errorCode(Integer errorCode) The code identifying the error occurred during Assignment operation.- Parameters:
- errorCode- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic OperatorControlAssignmentSummary.Builder errorMessage(String errorMessage) The message describing the error occurred during Assignment operation.- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
isLogForwardedpublic OperatorControlAssignmentSummary.Builder isLogForwarded(Boolean isLogForwarded) If set, then the audit logs are being forwarded to the relevant remote logging server- Parameters:
- isLogForwarded- the value to set
- Returns:
- this builder
 
 - 
remoteSyslogServerAddresspublic 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. - Parameters:
- remoteSyslogServerAddress- the value to set
- Returns:
- this builder
 
 - 
remoteSyslogServerPortpublic OperatorControlAssignmentSummary.Builder remoteSyslogServerPort(Integer remoteSyslogServerPort) The listening port of the remote syslog server.The port range is 0 - 65535. - Parameters:
- remoteSyslogServerPort- the value to set
- Returns:
- this builder
 
 - 
isHypervisorLogForwardedpublic OperatorControlAssignmentSummary.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
 
 - 
lifecycleStatepublic OperatorControlAssignmentSummary.Builder lifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState) The current lifcycle state of the OperatorControl.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic OperatorControlAssignmentSummary.Builder lifecycleDetails(String lifecycleDetails) More in detail about the lifeCycleState.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic OperatorControlAssignmentSummary.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 OperatorControlAssignmentSummary build() 
 - 
copypublic OperatorControlAssignmentSummary.Builder copy(OperatorControlAssignmentSummary model) 
 
- 
 
-