public static class SavedQuerySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SavedQuerySummary |
build() |
SavedQuerySummary.Builder |
compartmentId(String compartmentId)
Compartment OCID of the saved query
|
SavedQuerySummary.Builder |
copy(SavedQuerySummary model) |
SavedQuerySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SavedQuerySummary.Builder |
description(String description)
Description of the saved query
|
SavedQuerySummary.Builder |
displayName(String displayName)
Display name of the saved query
|
SavedQuerySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
SavedQuerySummary.Builder |
id(String id)
OCID for saved query
|
SavedQuerySummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
SavedQuerySummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
|
SavedQuerySummary.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
SavedQuerySummary.Builder |
query(String query)
The saved query expression
|
SavedQuerySummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
SavedQuerySummary.Builder |
timeCreated(Date timeCreated)
The date and time the saved query was created.
|
SavedQuerySummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the saved query was updated.
|
public SavedQuerySummary.Builder id(String id)
OCID for saved query
id
- the value to setpublic SavedQuerySummary.Builder description(String description)
Description of the saved query
description
- the value to setpublic SavedQuerySummary.Builder displayName(String displayName)
Display name of the saved query
displayName
- the value to setpublic SavedQuerySummary.Builder query(String query)
The saved query expression
query
- the value to setpublic SavedQuerySummary.Builder compartmentId(String compartmentId)
Compartment OCID of the saved query
compartmentId
- the value to setpublic SavedQuerySummary.Builder timeCreated(Date timeCreated)
The date and time the saved query was created. Format defined by RFC3339.
timeCreated
- the value to setpublic SavedQuerySummary.Builder timeUpdated(Date timeUpdated)
The date and time the saved query was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic SavedQuerySummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
lifecycleState
- the value to setpublic SavedQuerySummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic SavedQuerySummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, this can be used to
provide actionable information for a zone in the Failed
state.
lifecycleDetails
- the value to setpublic SavedQuerySummary.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"}
Avoid entering confidential information.
freeformTags
- the value to setpublic SavedQuerySummary.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"}}
definedTags
- the value to setpublic SavedQuerySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic SavedQuerySummary build()
public SavedQuerySummary.Builder copy(SavedQuerySummary model)
Copyright © 2016–2024. All rights reserved.