Class ReplicationScheduleSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.ReplicationScheduleSummary.Builder
-
- Enclosing class:
- ReplicationScheduleSummary
public static class ReplicationScheduleSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationScheduleSummary
build()
ReplicationScheduleSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the replication schedule exists.ReplicationScheduleSummary.Builder
copy(ReplicationScheduleSummary model)
ReplicationScheduleSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ReplicationScheduleSummary.Builder
displayName(String displayName)
A name of the replication schedule.ReplicationScheduleSummary.Builder
executionRecurrences(String executionRecurrences)
Recurrence specification for replication schedule execution.ReplicationScheduleSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ReplicationScheduleSummary.Builder
id(String id)
The OCID of the replication schedule.ReplicationScheduleSummary.Builder
lifecycleDetails(String lifecycleDetails)
The detailed state of the replication schedule.ReplicationScheduleSummary.Builder
lifecycleState(ReplicationSchedule.LifecycleState lifecycleState)
Current state of the replication schedule.ReplicationScheduleSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.ReplicationScheduleSummary.Builder
timeCreated(Date timeCreated)
The time when the replication schedule was created in RFC3339 format.ReplicationScheduleSummary.Builder
timeUpdated(Date timeUpdated)
The time when the replication schedule was last updated in RFC3339 format.
-
-
-
Method Detail
-
id
public ReplicationScheduleSummary.Builder id(String id)
The OCID of the replication schedule.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ReplicationScheduleSummary.Builder displayName(String displayName)
A name of the replication schedule.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public ReplicationScheduleSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the replication schedule exists.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
executionRecurrences
public ReplicationScheduleSummary.Builder executionRecurrences(String executionRecurrences)
Recurrence specification for replication schedule execution.- Parameters:
executionRecurrences
- the value to set- Returns:
- this builder
-
lifecycleState
public ReplicationScheduleSummary.Builder lifecycleState(ReplicationSchedule.LifecycleState lifecycleState)
Current state of the replication schedule.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ReplicationScheduleSummary.Builder lifecycleDetails(String lifecycleDetails)
The detailed state of the replication schedule.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public ReplicationScheduleSummary.Builder timeCreated(Date timeCreated)
The time when the replication schedule was created in RFC3339 format.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ReplicationScheduleSummary.Builder timeUpdated(Date timeUpdated)
The time when the replication schedule was last updated in RFC3339 format.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public ReplicationScheduleSummary.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
-
definedTags
public ReplicationScheduleSummary.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
-
systemTags
public ReplicationScheduleSummary.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
-
build
public ReplicationScheduleSummary build()
-
copy
public ReplicationScheduleSummary.Builder copy(ReplicationScheduleSummary model)
-
-