public static class AdhocQueryResultSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AdhocQueryResultSummary |
build() |
AdhocQueryResultSummary.Builder |
copy(AdhocQueryResultSummary model) |
AdhocQueryResultSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AdhocQueryResultSummary.Builder |
errorMessage(String errorMessage)
Optional error message
|
AdhocQueryResultSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AdhocQueryResultSummary.Builder |
hostId(String hostId)
Resource this result belongs to
|
AdhocQueryResultSummary.Builder |
region(String region)
The region this adhoc work request is running in, needed for tracking when work request
is synced to reporting region
|
AdhocQueryResultSummary.Builder |
result(List<Map<String,String>> result)
Result of the adhoc query this result resource is associated with
|
AdhocQueryResultSummary.Builder |
resultCount(Long resultCount)
Number of records returned for the query results on this host
|
AdhocQueryResultSummary.Builder |
state(AdhocQueryResultState state)
Status of the query
|
AdhocQueryResultSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
AdhocQueryResultSummary.Builder |
timeSubmitted(Date timeSubmitted)
The time the adhoc result was submitted.
|
public AdhocQueryResultSummary.Builder hostId(String hostId)
Resource this result belongs to
hostId
- the value to setpublic AdhocQueryResultSummary.Builder state(AdhocQueryResultState state)
Status of the query
state
- the value to setpublic AdhocQueryResultSummary.Builder region(String region)
The region this adhoc work request is running in, needed for tracking when work request is synced to reporting region
region
- the value to setpublic AdhocQueryResultSummary.Builder timeSubmitted(Date timeSubmitted)
The time the adhoc result was submitted. An RFC3339 formatted datetime string
timeSubmitted
- the value to setpublic AdhocQueryResultSummary.Builder errorMessage(String errorMessage)
Optional error message
errorMessage
- the value to setpublic AdhocQueryResultSummary.Builder resultCount(Long resultCount)
Number of records returned for the query results on this host
resultCount
- the value to setpublic AdhocQueryResultSummary.Builder result(List<Map<String,String>> result)
Result of the adhoc query this result resource is associated with
result
- the value to setpublic AdhocQueryResultSummary.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 AdhocQueryResultSummary.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 AdhocQueryResultSummary.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 AdhocQueryResultSummary build()
public AdhocQueryResultSummary.Builder copy(AdhocQueryResultSummary model)
Copyright © 2016–2024. All rights reserved.