Package com.oracle.bmc.sch.model
Class LogSource.Builder
- java.lang.Object
-
- com.oracle.bmc.sch.model.LogSource.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogSource
build()
LogSource.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the log source.LogSource.Builder
copy(LogSource model)
LogSource.Builder
logGroupId(String logGroupId)
Identifier of the log group.LogSource.Builder
logId(String logId)
The OCID of the log.
-
-
-
Method Detail
-
compartmentId
public LogSource.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the log source.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
logGroupId
public LogSource.Builder logGroupId(String logGroupId)
Identifier of the log group.Either _Audit or the OCID of the log group. Note: For the Notifications target, only _Audit is allowed.
- Parameters:
logGroupId
- the value to set- Returns:
- this builder
-
logId
public LogSource.Builder logId(String logId)
The OCID of the log.- Parameters:
logId
- the value to set- Returns:
- this builder
-
build
public LogSource build()
-
copy
public LogSource.Builder copy(LogSource model)
-
-