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