Class LogAnalyticsLogGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsLogGroupSummary.Builder
-
- Enclosing class:
- LogAnalyticsLogGroupSummary
public static class LogAnalyticsLogGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogAnalyticsLogGroupSummarybuild()LogAnalyticsLogGroupSummary.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).LogAnalyticsLogGroupSummary.Buildercopy(LogAnalyticsLogGroupSummary model)LogAnalyticsLogGroupSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.LogAnalyticsLogGroupSummary.Builderdescription(String description)Description for this resource.LogAnalyticsLogGroupSummary.BuilderdisplayName(String displayName)A user-friendly name that is changeable and that does not have to be unique.LogAnalyticsLogGroupSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.LogAnalyticsLogGroupSummary.Builderid(String id)The log analytics entity OCID.LogAnalyticsLogGroupSummary.BuildertimeCreated(Date timeCreated)The date and time the resource was created, in the format defined by RFC3339.LogAnalyticsLogGroupSummary.BuildertimeUpdated(Date timeUpdated)The date and time the resource was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public LogAnalyticsLogGroupSummary.Builder id(String id)
The log analytics entity OCID.This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public LogAnalyticsLogGroupSummary.Builder displayName(String displayName)
A user-friendly name that is changeable and that does not have to be unique.Format: a leading alphanumeric, followed by zero or more alphanumerics, underscores, spaces, backslashes, or hyphens in any order). No trailing spaces allowed.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public LogAnalyticsLogGroupSummary.Builder description(String description)
Description for this resource.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public LogAnalyticsLogGroupSummary.Builder compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public LogAnalyticsLogGroupSummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public LogAnalyticsLogGroupSummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public LogAnalyticsLogGroupSummary.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. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public LogAnalyticsLogGroupSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public LogAnalyticsLogGroupSummary build()
-
copy
public LogAnalyticsLogGroupSummary.Builder copy(LogAnalyticsLogGroupSummary model)
-
-