public static class LogSavedSearch.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogSavedSearch |
build() |
LogSavedSearch.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.
|
LogSavedSearch.Builder |
copy(LogSavedSearch model) |
LogSavedSearch.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
LogSavedSearch.Builder |
description(String description)
Description for this resource.
|
LogSavedSearch.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
LogSavedSearch.Builder |
id(String id)
The OCID of the resource.
|
LogSavedSearch.Builder |
lifecycleState(LogSavedSearchLifecycleState lifecycleState)
The state of the LogSavedSearch
|
LogSavedSearch.Builder |
name(String name)
The user-friendly display name.
|
LogSavedSearch.Builder |
query(String query)
The search query that is saved.
|
LogSavedSearch.Builder |
timeCreated(Date timeCreated)
Time the resource was created.
|
LogSavedSearch.Builder |
timeLastModified(Date timeLastModified)
Time the resource was last modified.
|
public LogSavedSearch.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic LogSavedSearch.Builder compartmentId(String compartmentId)
The OCID of the compartment that the resource belongs to.
compartmentId
- the value to setpublic 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.
name
- the value to setpublic LogSavedSearch.Builder timeCreated(Date timeCreated)
Time the resource was created.
timeCreated
- the value to setpublic LogSavedSearch.Builder timeLastModified(Date timeLastModified)
Time the resource was last modified.
timeLastModified
- the value to setpublic LogSavedSearch.Builder description(String description)
Description for this resource.
description
- the value to setpublic LogSavedSearch.Builder query(String query)
The search query that is saved.
query
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}
freeformTags
- the value to setpublic LogSavedSearch.Builder lifecycleState(LogSavedSearchLifecycleState lifecycleState)
The state of the LogSavedSearch
lifecycleState
- the value to setpublic LogSavedSearch build()
public LogSavedSearch.Builder copy(LogSavedSearch model)
Copyright © 2016–2024. All rights reserved.