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