Class LogAnalyticsLogGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsLogGroup.Builder
-
- Enclosing class:
- LogAnalyticsLogGroup
public static class LogAnalyticsLogGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogAnalyticsLogGroup
build()
LogAnalyticsLogGroup.Builder
compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).LogAnalyticsLogGroup.Builder
copy(LogAnalyticsLogGroup model)
LogAnalyticsLogGroup.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LogAnalyticsLogGroup.Builder
description(String description)
Description for this resource.LogAnalyticsLogGroup.Builder
displayName(String displayName)
A user-friendly name that is changeable and that does not have to be unique.LogAnalyticsLogGroup.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.LogAnalyticsLogGroup.Builder
id(String id)
The log analytics entity OCID.LogAnalyticsLogGroup.Builder
timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.LogAnalyticsLogGroup.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public LogAnalyticsLogGroup.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 LogAnalyticsLogGroup.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 LogAnalyticsLogGroup.Builder description(String description)
Description for this resource.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public LogAnalyticsLogGroup.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 LogAnalyticsLogGroup.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 LogAnalyticsLogGroup.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 LogAnalyticsLogGroup.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 LogAnalyticsLogGroup.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 LogAnalyticsLogGroup build()
-
copy
public LogAnalyticsLogGroup.Builder copy(LogAnalyticsLogGroup model)
-
-