Package com.oracle.bmc.logging.model
Class LogSummary.Builder
- java.lang.Object
 - 
- com.oracle.bmc.logging.model.LogSummary.Builder
 
 
- 
- Enclosing class:
 - LogSummary
 
public static class LogSummary.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogSummarybuild()LogSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that the resource belongs to.LogSummary.Builderconfiguration(Configuration configuration)LogSummary.Buildercopy(LogSummary model)LogSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.LogSummary.BuilderdisplayName(String displayName)The user-friendly display name.LogSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.LogSummary.Builderid(String id)The OCID of the resource.LogSummary.BuilderisEnabled(Boolean isEnabled)Whether or not this resource is currently enabled.LogSummary.BuilderlifecycleState(LogLifecycleState lifecycleState)The pipeline state.LogSummary.BuilderlogGroupId(String logGroupId)Log group OCID.LogSummary.BuilderlogType(LogSummary.LogType logType)The logType that the log object is for, whether custom or service.LogSummary.BuilderretentionDuration(Integer retentionDuration)Log retention duration in 30-day increments (30, 60, 90 and so on until 180).LogSummary.BuildertimeCreated(Date timeCreated)Time the resource was created.LogSummary.BuildertimeLastModified(Date timeLastModified)Time the resource was last modified. 
 - 
 
- 
- 
Method Detail
- 
id
public LogSummary.Builder id(String id)
The OCID of the resource.- Parameters:
 id- the value to set- Returns:
 - this builder
 
 
- 
logGroupId
public LogSummary.Builder logGroupId(String logGroupId)
Log group OCID.- Parameters:
 logGroupId- the value to set- Returns:
 - this builder
 
 
- 
displayName
public 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.
- Parameters:
 displayName- the value to set- Returns:
 - this builder
 
 
- 
isEnabled
public LogSummary.Builder isEnabled(Boolean isEnabled)
Whether or not this resource is currently enabled.- Parameters:
 isEnabled- the value to set- Returns:
 - this builder
 
 
- 
lifecycleState
public LogSummary.Builder lifecycleState(LogLifecycleState lifecycleState)
The pipeline state.- Parameters:
 lifecycleState- the value to set- Returns:
 - this builder
 
 
- 
logType
public LogSummary.Builder logType(LogSummary.LogType logType)
The logType that the log object is for, whether custom or service.- Parameters:
 logType- the value to set- Returns:
 - this builder
 
 
- 
configuration
public LogSummary.Builder configuration(Configuration configuration)
 
- 
definedTags
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"}}
- Parameters:
 definedTags- the value to set- Returns:
 - this builder
 
 
- 
freeformTags
public 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”}
- Parameters:
 freeformTags- the value to set- Returns:
 - this builder
 
 
- 
timeCreated
public LogSummary.Builder timeCreated(Date timeCreated)
Time the resource was created.- Parameters:
 timeCreated- the value to set- Returns:
 - this builder
 
 
- 
timeLastModified
public LogSummary.Builder timeLastModified(Date timeLastModified)
Time the resource was last modified.- Parameters:
 timeLastModified- the value to set- Returns:
 - this builder
 
 
- 
retentionDuration
public LogSummary.Builder retentionDuration(Integer retentionDuration)
Log retention duration in 30-day increments (30, 60, 90 and so on until 180).- Parameters:
 retentionDuration- the value to set- Returns:
 - this builder
 
 
- 
compartmentId
public LogSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.- Parameters:
 compartmentId- the value to set- Returns:
 - this builder
 
 
- 
build
public LogSummary build()
 
- 
copy
public LogSummary.Builder copy(LogSummary model)
 
 - 
 
 -