Class DiscoveryJob.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.DiscoveryJob.Builder
-
- Enclosing class:
- DiscoveryJob
public static class DiscoveryJob.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveryJob
build()
DiscoveryJob.Builder
compartmentId(String compartmentId)
The OCID of the CompartmentDiscoveryJob.Builder
copy(DiscoveryJob model)
DiscoveryJob.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DiscoveryJob.Builder
discoveryClient(String discoveryClient)
Client who submits discovery job.DiscoveryJob.Builder
discoveryDetails(DiscoveryDetails discoveryDetails)
DiscoveryJob.Builder
discoveryType(DiscoveryJob.DiscoveryType discoveryType)
Add option submits new discovery Job.DiscoveryJob.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DiscoveryJob.Builder
id(String id)
The OCID of Discovery jobDiscoveryJob.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the DiscoveryJob Resource.DiscoveryJob.Builder
status(DiscoveryJob.Status status)
Specifies the status of the discovery jobDiscoveryJob.Builder
statusMessage(String statusMessage)
The short summary of the status of the discovery jobDiscoveryJob.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DiscoveryJob.Builder
tenantId(String tenantId)
The OCID of TenantDiscoveryJob.Builder
timeUpdated(Date timeUpdated)
The time the discovery Job was updated.DiscoveryJob.Builder
userId(String userId)
The OCID of user in which the job is submitted
-
-
-
Method Detail
-
id
public DiscoveryJob.Builder id(String id)
The OCID of Discovery job- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public DiscoveryJob.Builder compartmentId(String compartmentId)
The OCID of the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
discoveryType
public DiscoveryJob.Builder discoveryType(DiscoveryJob.DiscoveryType discoveryType)
Add option submits new discovery Job.Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources.
- Parameters:
discoveryType
- the value to set- Returns:
- this builder
-
status
public DiscoveryJob.Builder status(DiscoveryJob.Status status)
Specifies the status of the discovery job- Parameters:
status
- the value to set- Returns:
- this builder
-
statusMessage
public DiscoveryJob.Builder statusMessage(String statusMessage)
The short summary of the status of the discovery job- Parameters:
statusMessage
- the value to set- Returns:
- this builder
-
tenantId
public DiscoveryJob.Builder tenantId(String tenantId)
The OCID of Tenant- Parameters:
tenantId
- the value to set- Returns:
- this builder
-
userId
public DiscoveryJob.Builder userId(String userId)
The OCID of user in which the job is submitted- Parameters:
userId
- the value to set- Returns:
- this builder
-
discoveryClient
public DiscoveryJob.Builder discoveryClient(String discoveryClient)
Client who submits discovery job.- Parameters:
discoveryClient
- the value to set- Returns:
- this builder
-
discoveryDetails
public DiscoveryJob.Builder discoveryDetails(DiscoveryDetails discoveryDetails)
-
timeUpdated
public DiscoveryJob.Builder timeUpdated(Date timeUpdated)
The time the discovery Job was updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public DiscoveryJob.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the DiscoveryJob Resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public DiscoveryJob.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public DiscoveryJob.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
-
systemTags
public DiscoveryJob.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DiscoveryJob build()
-
copy
public DiscoveryJob.Builder copy(DiscoveryJob model)
-
-