public static class LogSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogSummary |
build() |
LogSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.
|
LogSummary.Builder |
configuration(Configuration configuration) |
LogSummary.Builder |
copy(LogSummary model) |
LogSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
LogSummary.Builder |
displayName(String displayName)
The user-friendly display name.
|
LogSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
LogSummary.Builder |
id(String id)
The OCID of the resource.
|
LogSummary.Builder |
isEnabled(Boolean isEnabled)
Whether or not this resource is currently enabled.
|
LogSummary.Builder |
lifecycleState(LogLifecycleState lifecycleState)
The pipeline state.
|
LogSummary.Builder |
logGroupId(String logGroupId)
Log group OCID.
|
LogSummary.Builder |
logType(LogSummary.LogType logType)
The logType that the log object is for, whether custom or service.
|
LogSummary.Builder |
retentionDuration(Integer retentionDuration)
Log retention duration in 30-day increments (30, 60, 90 and so on until 180).
|
LogSummary.Builder |
timeCreated(Date timeCreated)
Time the resource was created.
|
LogSummary.Builder |
timeLastModified(Date timeLastModified)
Time the resource was last modified.
|
public LogSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic LogSummary.Builder logGroupId(String logGroupId)
Log group OCID.
logGroupId
- the value to setpublic LogSummary.Builder displayName(String displayName)
The user-friendly display name. This must be unique within the enclosing resource, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic LogSummary.Builder isEnabled(Boolean isEnabled)
Whether or not this resource is currently enabled.
isEnabled
- the value to setpublic LogSummary.Builder lifecycleState(LogLifecycleState lifecycleState)
The pipeline state.
lifecycleState
- the value to setpublic LogSummary.Builder logType(LogSummary.LogType logType)
The logType that the log object is for, whether custom or service.
logType
- the value to setpublic LogSummary.Builder configuration(Configuration configuration)
public LogSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic LogSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic LogSummary.Builder timeCreated(Date timeCreated)
Time the resource was created.
timeCreated
- the value to setpublic LogSummary.Builder timeLastModified(Date timeLastModified)
Time the resource was last modified.
timeLastModified
- the value to setpublic LogSummary.Builder retentionDuration(Integer retentionDuration)
Log retention duration in 30-day increments (30, 60, 90 and so on until 180).
retentionDuration
- the value to setpublic LogSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.
compartmentId
- the value to setpublic LogSummary build()
public LogSummary.Builder copy(LogSummary model)
Copyright © 2016–2024. All rights reserved.