public static class CreateDiscoveryJobDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateDiscoveryJobDetails.Builder discoveryType(CreateDiscoveryJobDetails.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 CreateDiscoveryJobDetails.Builder discoveryClient(String discoveryClient)
Client who submits discovery job.
discoveryClient
- the value to setpublic CreateDiscoveryJobDetails.Builder compartmentId(String compartmentId)
The OCID of Compartment
compartmentId
- the value to setpublic CreateDiscoveryJobDetails.Builder discoveryDetails(DiscoveryDetails discoveryDetails)
public CreateDiscoveryJobDetails.Builder shouldPropagateTagsToDiscoveredResources(Boolean shouldPropagateTagsToDiscoveredResources)
If this parameter set to true, the specified tags will be applied to all resources discovered in the current request. Default is true.
shouldPropagateTagsToDiscoveredResources
- the value to setpublic CreateDiscoveryJobDetails.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 CreateDiscoveryJobDetails.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 CreateDiscoveryJobDetails build()
public CreateDiscoveryJobDetails.Builder copy(CreateDiscoveryJobDetails model)
Copyright © 2016–2024. All rights reserved.