Class OperatorControlAssignmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.operatoraccesscontrol.model.OperatorControlAssignmentSummary.Builder
-
- Enclosing class:
- OperatorControlAssignmentSummary
public static class OperatorControlAssignmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public OperatorControlAssignmentSummary.Builder id(String id)
The OCID of the operator control assignment.- Parameters:
id- the value to set- Returns:
- this builder
-
operatorControlId
public OperatorControlAssignmentSummary.Builder operatorControlId(String operatorControlId)
The OCID of the operator control.- Parameters:
operatorControlId- the value to set- Returns:
- this builder
-
resourceId
public 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
-
compartmentId
public 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
-
resourceType
public OperatorControlAssignmentSummary.Builder resourceType(ResourceTypes resourceType)
resourceType for which the OperatorControlAssignment is applicable- Parameters:
resourceType- the value to set- Returns:
- this builder
-
resourceName
public OperatorControlAssignmentSummary.Builder resourceName(String resourceName)
Name of the target resource.- Parameters:
resourceName- the value to set- Returns:
- this builder
-
opControlName
public OperatorControlAssignmentSummary.Builder opControlName(String opControlName)
Name of the operator control name associated.- Parameters:
opControlName- the value to set- Returns:
- this builder
-
timeAssignmentFrom
public 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
-
timeAssignmentTo
public 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
-
isEnforcedAlways
public 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
-
timeOfAssignment
public 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
-
errorCode
public OperatorControlAssignmentSummary.Builder errorCode(Integer errorCode)
The code identifying the error occurred during Assignment operation.- Parameters:
errorCode- the value to set- Returns:
- this builder
-
errorMessage
public OperatorControlAssignmentSummary.Builder errorMessage(String errorMessage)
The message describing the error occurred during Assignment operation.- Parameters:
errorMessage- the value to set- Returns:
- this builder
-
isLogForwarded
public 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
-
remoteSyslogServerAddress
public 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
-
remoteSyslogServerPort
public 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
-
isHypervisorLogForwarded
public 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
-
lifecycleState
public OperatorControlAssignmentSummary.Builder lifecycleState(OperatorControlAssignmentLifecycleStates lifecycleState)
The current lifcycle state of the OperatorControl.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public OperatorControlAssignmentSummary.Builder lifecycleDetails(String lifecycleDetails)
More in detail about the lifeCycleState.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
build
public OperatorControlAssignmentSummary build()
-
copy
public OperatorControlAssignmentSummary.Builder copy(OperatorControlAssignmentSummary model)
-
-