public static class DiscoveryJob.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DiscoveryJob |
build() |
DiscoveryJob.Builder |
compartmentId(String compartmentId)
The OCID of the Compartment
|
DiscoveryJob.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 job
|
DiscoveryJob.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the DiscoveryJob Resource.
|
DiscoveryJob.Builder |
status(DiscoveryJob.Status status)
Specifies the status of the discovery job
|
DiscoveryJob.Builder |
statusMessage(String statusMessage)
The short summary of the status of the discovery job
|
DiscoveryJob.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DiscoveryJob.Builder |
tenantId(String tenantId)
The OCID of Tenant
|
DiscoveryJob.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
|
public DiscoveryJob.Builder id(String id)
The OCID of Discovery job
id
- the value to setpublic DiscoveryJob.Builder compartmentId(String compartmentId)
The OCID of the Compartment
compartmentId
- the value to setpublic 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.
discoveryType
- the value to setpublic DiscoveryJob.Builder status(DiscoveryJob.Status status)
Specifies the status of the discovery job
status
- the value to setpublic DiscoveryJob.Builder statusMessage(String statusMessage)
The short summary of the status of the discovery job
statusMessage
- the value to setpublic DiscoveryJob.Builder tenantId(String tenantId)
The OCID of Tenant
tenantId
- the value to setpublic DiscoveryJob.Builder userId(String userId)
The OCID of user in which the job is submitted
userId
- the value to setpublic DiscoveryJob.Builder discoveryClient(String discoveryClient)
Client who submits discovery job.
discoveryClient
- the value to setpublic DiscoveryJob.Builder discoveryDetails(DiscoveryDetails discoveryDetails)
public DiscoveryJob.Builder timeUpdated(Date timeUpdated)
The time the discovery Job was updated.
timeUpdated
- the value to setpublic DiscoveryJob.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the DiscoveryJob Resource.
lifecycleState
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic DiscoveryJob build()
public DiscoveryJob.Builder copy(DiscoveryJob model)
Copyright © 2016–2024. All rights reserved.