public static class DiscoveryJobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public DiscoveryJobSummary.Builder id(String id)
The OCID of Discovery job
id
- the value to setpublic DiscoveryJobSummary.Builder resourceType(DiscoveryJobSummary.ResourceType resourceType)
Resource Type
resourceType
- the value to setpublic DiscoveryJobSummary.Builder resourceName(String resourceName)
The name of resource type
resourceName
- the value to setpublic DiscoveryJobSummary.Builder license(LicenseType license)
License edition of the monitored resource.
license
- the value to setpublic DiscoveryJobSummary.Builder compartmentId(String compartmentId)
The OCID of the Compartment
compartmentId
- the value to setpublic DiscoveryJobSummary.Builder discoveryType(DiscoveryJobSummary.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 DiscoveryJobSummary.Builder status(DiscoveryJobSummary.Status status)
Specifies the status of the discovery job
status
- the value to setpublic DiscoveryJobSummary.Builder statusMessage(String statusMessage)
The short summary of the status of the discovery job
statusMessage
- the value to setpublic DiscoveryJobSummary.Builder tenantId(String tenantId)
The OCID of Tenant
tenantId
- the value to setpublic DiscoveryJobSummary.Builder userId(String userId)
The OCID of user in which the job is submitted
userId
- the value to setpublic DiscoveryJobSummary.Builder timeUpdated(Date timeUpdated)
The time the discovery Job was updated.
timeUpdated
- the value to setpublic DiscoveryJobSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the DiscoveryJob Resource.
lifecycleState
- the value to setpublic DiscoveryJobSummary.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 DiscoveryJobSummary.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 DiscoveryJobSummary.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 DiscoveryJobSummary build()
public DiscoveryJobSummary.Builder copy(DiscoveryJobSummary model)
Copyright © 2016–2024. All rights reserved.