Class DiscoverySchedule.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudmigrations.model.DiscoverySchedule.Builder
 
- 
- Enclosing class:
- DiscoverySchedule
 
 public static class DiscoverySchedule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoverySchedulebuild()DiscoverySchedule.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the discovery schedule exists.DiscoverySchedule.Buildercopy(DiscoverySchedule model)DiscoverySchedule.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DiscoverySchedule.BuilderdisplayName(String displayName)A user-friendly name for the discovery schedule.DiscoverySchedule.BuilderexecutionRecurrences(String executionRecurrences)Recurrence specification for the discovery schedule execution.DiscoverySchedule.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DiscoverySchedule.Builderid(String id)The OCID of the discovery schedule.DiscoverySchedule.BuilderlifecycleDetails(String lifecycleDetails)The detailed state of the discovery schedule.DiscoverySchedule.BuilderlifecycleState(DiscoveryScheduleLifecycleState lifecycleState)Current state of the discovery schedule.DiscoverySchedule.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DiscoverySchedule.BuildertimeCreated(Date timeCreated)The time when the discovery schedule was created in RFC3339 format.DiscoverySchedule.BuildertimeUpdated(Date timeUpdated)The time when the discovery schedule was last updated in RFC3339 format.
 
- 
- 
- 
Method Detail- 
idpublic DiscoverySchedule.Builder id(String id) The OCID of the discovery schedule.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
executionRecurrencespublic DiscoverySchedule.Builder executionRecurrences(String executionRecurrences) Recurrence specification for the discovery schedule execution.- Parameters:
- executionRecurrences- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DiscoverySchedule.Builder compartmentId(String compartmentId) The OCID of the compartment in which the discovery schedule exists.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DiscoverySchedule.Builder lifecycleState(DiscoveryScheduleLifecycleState lifecycleState) Current state of the discovery schedule.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic DiscoverySchedule.Builder lifecycleDetails(String lifecycleDetails) The detailed state of the discovery schedule.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DiscoverySchedule.Builder timeCreated(Date timeCreated) The time when the discovery schedule was created in RFC3339 format.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DiscoverySchedule.Builder timeUpdated(Date timeUpdated) The time when the discovery schedule was last updated in RFC3339 format.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic DiscoverySchedule build() 
 - 
copypublic DiscoverySchedule.Builder copy(DiscoverySchedule model) 
 
- 
 
-