Package com.oracle.bmc.logging.model
Class LogSavedSearch.Builder
- java.lang.Object
- 
- com.oracle.bmc.logging.model.LogSavedSearch.Builder
 
- 
- Enclosing class:
- LogSavedSearch
 
 public static class LogSavedSearch.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LogSavedSearchbuild()LogSavedSearch.BuildercompartmentId(String compartmentId)The OCID of the compartment that the resource belongs to.LogSavedSearch.Buildercopy(LogSavedSearch model)LogSavedSearch.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.LogSavedSearch.Builderdescription(String description)Description for this resource.LogSavedSearch.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.LogSavedSearch.Builderid(String id)The OCID of the resource.LogSavedSearch.BuilderlifecycleState(LogSavedSearchLifecycleState lifecycleState)The state of the LogSavedSearchLogSavedSearch.Buildername(String name)The user-friendly display name.LogSavedSearch.Builderquery(String query)The search query that is saved.LogSavedSearch.BuildertimeCreated(Date timeCreated)Time the resource was created.LogSavedSearch.BuildertimeLastModified(Date timeLastModified)Time the resource was last modified.
 
- 
- 
- 
Method Detail- 
idpublic LogSavedSearch.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic LogSavedSearch.Builder compartmentId(String compartmentId) The OCID of the compartment that the resource belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
namepublic LogSavedSearch.Builder name(String name) The user-friendly display name.This must be unique within the enclosing resource, and it’s changeable. Avoid entering confidential information. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic LogSavedSearch.Builder timeCreated(Date timeCreated) Time the resource was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeLastModifiedpublic LogSavedSearch.Builder timeLastModified(Date timeLastModified) Time the resource was last modified.- Parameters:
- timeLastModified- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic LogSavedSearch.Builder description(String description) Description for this resource.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
querypublic LogSavedSearch.Builder query(String query) The search query that is saved.- Parameters:
- query- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic LogSavedSearch.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
 
 - 
freeformTagspublic LogSavedSearch.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
 
 - 
lifecycleStatepublic LogSavedSearch.Builder lifecycleState(LogSavedSearchLifecycleState lifecycleState) The state of the LogSavedSearch- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
buildpublic LogSavedSearch build() 
 - 
copypublic LogSavedSearch.Builder copy(LogSavedSearch model) 
 
- 
 
-