Package com.oracle.bmc.logging.model
Class LogGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.logging.model.LogGroupSummary.Builder
-
- Enclosing class:
- LogGroupSummary
public static class LogGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogGroupSummary
build()
LogGroupSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.LogGroupSummary.Builder
copy(LogGroupSummary model)
LogGroupSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LogGroupSummary.Builder
description(String description)
Description for this resource.LogGroupSummary.Builder
displayName(String displayName)
The user-friendly display name.LogGroupSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.LogGroupSummary.Builder
id(String id)
The OCID of the resource.LogGroupSummary.Builder
lifecycleState(LogGroupLifecycleState lifecycleState)
The log group object state.LogGroupSummary.Builder
timeCreated(Date timeCreated)
Time the resource was created.LogGroupSummary.Builder
timeLastModified(Date timeLastModified)
Time the resource was last modified.
-
-
-
Method Detail
-
id
public LogGroupSummary.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public LogGroupSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public LogGroupSummary.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
-
description
public LogGroupSummary.Builder description(String description)
Description for this resource.- Parameters:
description
- the value to set- Returns:
- this builder
-
definedTags
public LogGroupSummary.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 LogGroupSummary.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 LogGroupSummary.Builder timeCreated(Date timeCreated)
Time the resource was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeLastModified
public LogGroupSummary.Builder timeLastModified(Date timeLastModified)
Time the resource was last modified.- Parameters:
timeLastModified
- the value to set- Returns:
- this builder
-
lifecycleState
public LogGroupSummary.Builder lifecycleState(LogGroupLifecycleState lifecycleState)
The log group object state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
build
public LogGroupSummary build()
-
copy
public LogGroupSummary.Builder copy(LogGroupSummary model)
-
-