Package com.oracle.bmc.cloudbridge.model
Class DiscoverySchedule.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.DiscoverySchedule.Builder
-
- Enclosing class:
- DiscoverySchedule
public static class DiscoverySchedule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
The defined tags associated with this resource, if any.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)
The freeform tags associated with this resource, if any.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)
The system tags associated with this resource, if any.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.
-
-
-
Method Detail
-
id
public DiscoverySchedule.Builder id(String id)
The OCID of the discovery schedule.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public 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
-
executionRecurrences
public DiscoverySchedule.Builder executionRecurrences(String executionRecurrences)
Recurrence specification for the discovery schedule execution.- Parameters:
executionRecurrences
- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
lifecycleState
public DiscoverySchedule.Builder lifecycleState(DiscoveryScheduleLifecycleState lifecycleState)
Current state of the discovery schedule.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DiscoverySchedule.Builder lifecycleDetails(String lifecycleDetails)
The detailed state of the discovery schedule.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
freeformTags
public DiscoverySchedule.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public DiscoverySchedule.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public DiscoverySchedule.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DiscoverySchedule build()
-
copy
public DiscoverySchedule.Builder copy(DiscoverySchedule model)
-
-