Class CreateOperatorControlAssignmentDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.operatoraccesscontrol.model.CreateOperatorControlAssignmentDetails.Builder
 
- 
- Enclosing class:
- CreateOperatorControlAssignmentDetails
 
 public static class CreateOperatorControlAssignmentDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOperatorControlAssignmentDetailsbuild()CreateOperatorControlAssignmentDetails.Buildercomment(String comment)Comment about the assignment of the operator control to this target resource.CreateOperatorControlAssignmentDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the operator control assignment.CreateOperatorControlAssignmentDetails.Buildercopy(CreateOperatorControlAssignmentDetails model)CreateOperatorControlAssignmentDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateOperatorControlAssignmentDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateOperatorControlAssignmentDetails.BuilderisAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)The boolean if true would autoApprove during maintenance.CreateOperatorControlAssignmentDetails.BuilderisEnforcedAlways(Boolean isEnforcedAlways)If set, then the target resource is always governed by the operator control.CreateOperatorControlAssignmentDetails.BuilderisHypervisorLogForwarded(Boolean isHypervisorLogForwarded)If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog serverCreateOperatorControlAssignmentDetails.BuilderisLogForwarded(Boolean isLogForwarded)If set, then the audit logs will be forwarded to the relevant remote logging serverCreateOperatorControlAssignmentDetails.BuilderoperatorControlId(String operatorControlId)The OCID of the operator control that is being assigned to a target resource.CreateOperatorControlAssignmentDetails.BuilderremoteSyslogServerAddress(String remoteSyslogServerAddress)The address of the remote syslog server where the audit logs will be forwarded to.CreateOperatorControlAssignmentDetails.BuilderremoteSyslogServerCACert(String remoteSyslogServerCACert)The CA certificate of the remote syslog server.CreateOperatorControlAssignmentDetails.BuilderremoteSyslogServerPort(Integer remoteSyslogServerPort)The listening port of the remote syslog server.CreateOperatorControlAssignmentDetails.BuilderresourceCompartmentId(String resourceCompartmentId)The OCID of the compartment that contains the target resource.CreateOperatorControlAssignmentDetails.BuilderresourceId(String resourceId)The OCID of the target resource being brought under the governance of the operator control.CreateOperatorControlAssignmentDetails.BuilderresourceName(String resourceName)Name of the target resource.CreateOperatorControlAssignmentDetails.BuilderresourceType(ResourceTypes resourceType)Type of the target resource.CreateOperatorControlAssignmentDetails.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.CreateOperatorControlAssignmentDetails.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’
 
- 
- 
- 
Method Detail- 
operatorControlIdpublic 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
 
 - 
resourceIdpublic 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
 
 - 
resourceNamepublic CreateOperatorControlAssignmentDetails.Builder resourceName(String resourceName) Name of the target resource.- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic CreateOperatorControlAssignmentDetails.Builder resourceType(ResourceTypes resourceType) Type of the target resource.- Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
resourceCompartmentIdpublic CreateOperatorControlAssignmentDetails.Builder resourceCompartmentId(String resourceCompartmentId) The OCID of the compartment that contains the target resource.- Parameters:
- resourceCompartmentId- the value to set
- Returns:
- this builder
 
 - 
timeAssignmentFrompublic 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
 
 - 
timeAssignmentTopublic 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
 
 - 
compartmentIdpublic 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
 
 - 
isEnforcedAlwayspublic 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
 
 - 
commentpublic 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
 
 - 
isLogForwardedpublic 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
 
 - 
remoteSyslogServerAddresspublic 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
 
 - 
remoteSyslogServerPortpublic 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
 
 - 
remoteSyslogServerCACertpublic 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
 
 - 
isHypervisorLogForwardedpublic 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
 
 - 
isAutoApproveDuringMaintenancepublic CreateOperatorControlAssignmentDetails.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance) The boolean if true would autoApprove during maintenance.- Parameters:
- isAutoApproveDuringMaintenance- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic CreateOperatorControlAssignmentDetails build() 
 - 
copypublic CreateOperatorControlAssignmentDetails.Builder copy(CreateOperatorControlAssignmentDetails model) 
 
- 
 
-