Package com.oracle.bmc.cloudguard.model
Class AdhocQuery.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.AdhocQuery.Builder
 
- 
- Enclosing class:
- AdhocQuery
 
 public static class AdhocQuery.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AdhocQuery.BuilderadhocQueryDetails(AdhocQueryDetails adhocQueryDetails)AdhocQuery.BuilderadhocQueryRegionalDetails(List<AdhocQueryRegionalDetails> adhocQueryRegionalDetails)Instance level status for each regionAdhocQuerybuild()AdhocQuery.BuildercompartmentId(String compartmentId)Compartment OCID of the adhoc queryAdhocQuery.Buildercopy(AdhocQuery model)AdhocQuery.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AdhocQuery.BuildererrorMessage(String errorMessage)Error message to show on UI in case of failureAdhocQuery.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.AdhocQuery.Builderid(String id)OCID for the adhoc queryAdhocQuery.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the resource.AdhocQuery.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.AdhocQuery.Builderstatus(AdhocQueryStatus status)Status of the adhoc queryAdhocQuery.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.AdhocQuery.BuildertimeCreated(Date timeCreated)The date and time the adhoc query was created.AdhocQuery.BuildertimeUpdated(Date timeUpdated)The date and time the adhoc query was updated.
 
- 
- 
- 
Method Detail- 
idpublic AdhocQuery.Builder id(String id) OCID for the adhoc query- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AdhocQuery.Builder compartmentId(String compartmentId) Compartment OCID of the adhoc query- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AdhocQuery.Builder timeCreated(Date timeCreated) The date and time the adhoc query was created.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AdhocQuery.Builder timeUpdated(Date timeUpdated) The date and time the adhoc query was updated.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
statuspublic AdhocQuery.Builder status(AdhocQueryStatus status) Status of the adhoc query- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
adhocQueryRegionalDetailspublic AdhocQuery.Builder adhocQueryRegionalDetails(List<AdhocQueryRegionalDetails> adhocQueryRegionalDetails) Instance level status for each region- Parameters:
- adhocQueryRegionalDetails- the value to set
- Returns:
- this builder
 
 - 
adhocQueryDetailspublic AdhocQuery.Builder adhocQueryDetails(AdhocQueryDetails adhocQueryDetails) 
 - 
errorMessagepublic AdhocQuery.Builder errorMessage(String errorMessage) Error message to show on UI in case of failure- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
lockspublic AdhocQuery.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AdhocQuery.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AdhocQuery build() 
 - 
copypublic AdhocQuery.Builder copy(AdhocQuery model) 
 
- 
 
-