public static class AdhocQuery.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AdhocQuery.Builder |
adhocQueryDetails(AdhocQueryDetails adhocQueryDetails) |
AdhocQuery.Builder |
adhocQueryRegionalDetails(List<AdhocQueryRegionalDetails> adhocQueryRegionalDetails)
Instance level status for each region
|
AdhocQuery |
build() |
AdhocQuery.Builder |
compartmentId(String compartmentId)
Compartment OCID of the adhoc query
|
AdhocQuery.Builder |
copy(AdhocQuery model) |
AdhocQuery.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AdhocQuery.Builder |
errorMessage(String errorMessage)
Error message to show on UI in case of failure
|
AdhocQuery.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AdhocQuery.Builder |
id(String id)
OCID for the adhoc query
|
AdhocQuery.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource.
|
AdhocQuery.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
AdhocQuery.Builder |
status(AdhocQueryStatus status)
Status of the adhoc query
|
AdhocQuery.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
AdhocQuery.Builder |
timeCreated(Date timeCreated)
The date and time the adhoc query was created.
|
AdhocQuery.Builder |
timeUpdated(Date timeUpdated)
The date and time the adhoc query was updated.
|
public AdhocQuery.Builder id(String id)
OCID for the adhoc query
id
- the value to setpublic AdhocQuery.Builder compartmentId(String compartmentId)
Compartment OCID of the adhoc query
compartmentId
- the value to setpublic AdhocQuery.Builder timeCreated(Date timeCreated)
The date and time the adhoc query was created. Format defined by RFC3339.
timeCreated
- the value to setpublic AdhocQuery.Builder timeUpdated(Date timeUpdated)
The date and time the adhoc query was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic AdhocQuery.Builder status(AdhocQueryStatus status)
Status of the adhoc query
status
- the value to setpublic AdhocQuery.Builder adhocQueryRegionalDetails(List<AdhocQueryRegionalDetails> adhocQueryRegionalDetails)
Instance level status for each region
adhocQueryRegionalDetails
- the value to setpublic AdhocQuery.Builder adhocQueryDetails(AdhocQueryDetails adhocQueryDetails)
public AdhocQuery.Builder errorMessage(String errorMessage)
Error message to show on UI in case of failure
errorMessage
- the value to setpublic AdhocQuery.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic AdhocQuery.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource.
lifecycleState
- the value to setpublic AdhocQuery.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 AdhocQuery.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 AdhocQuery.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 AdhocQuery build()
public AdhocQuery.Builder copy(AdhocQuery model)
Copyright © 2016–2024. All rights reserved.