public static class DiscoverySchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DiscoverySchedule |
build() |
DiscoverySchedule.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment in which the discovery schedule exists.
|
DiscoverySchedule.Builder |
copy(DiscoverySchedule model) |
DiscoverySchedule.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DiscoverySchedule.Builder |
displayName(String displayName)
A user-friendly name for the discovery schedule.
|
DiscoverySchedule.Builder |
executionRecurrences(String executionRecurrences)
Recurrence specification for the discovery schedule execution.
|
DiscoverySchedule.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DiscoverySchedule.Builder |
id(String id)
The OCID of the
discovery schedule.
|
DiscoverySchedule.Builder |
lifecycleDetails(String lifecycleDetails)
The detailed state of the discovery schedule.
|
DiscoverySchedule.Builder |
lifecycleState(DiscoveryScheduleLifecycleState lifecycleState)
Current state of the discovery schedule.
|
DiscoverySchedule.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DiscoverySchedule.Builder |
timeCreated(Date timeCreated)
The time when the discovery schedule was created in RFC3339 format.
|
DiscoverySchedule.Builder |
timeUpdated(Date timeUpdated)
The time when the discovery schedule was last updated in RFC3339 format.
|
public DiscoverySchedule.Builder id(String id)
The OCID of the discovery schedule.
id
- the value to setpublic DiscoverySchedule.Builder displayName(String displayName)
A user-friendly name for the discovery schedule. Does not have to be unique, and it’s mutable. Avoid entering confidential information.
displayName
- the value to setpublic DiscoverySchedule.Builder executionRecurrences(String executionRecurrences)
Recurrence specification for the discovery schedule execution.
executionRecurrences
- the value to setpublic DiscoverySchedule.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the discovery schedule exists.
compartmentId
- the value to setpublic DiscoverySchedule.Builder lifecycleState(DiscoveryScheduleLifecycleState lifecycleState)
Current state of the discovery schedule.
lifecycleState
- the value to setpublic DiscoverySchedule.Builder lifecycleDetails(String lifecycleDetails)
The detailed state of the discovery schedule.
lifecycleDetails
- the value to setpublic DiscoverySchedule.Builder timeCreated(Date timeCreated)
The time when the discovery schedule was created in RFC3339 format.
timeCreated
- the value to setpublic DiscoverySchedule.Builder timeUpdated(Date timeUpdated)
The time when the discovery schedule was last updated in RFC3339 format.
timeUpdated
- the value to setpublic DiscoverySchedule.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. It
exists only for cross-compatibility. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic DiscoverySchedule.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 DiscoverySchedule.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 DiscoverySchedule build()
public DiscoverySchedule.Builder copy(DiscoverySchedule model)
Copyright © 2016–2024. All rights reserved.