Class CreateReplicationScheduleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.CreateReplicationScheduleDetails.Builder
-
- Enclosing class:
- CreateReplicationScheduleDetails
public static class CreateReplicationScheduleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReplicationScheduleDetails
build()
CreateReplicationScheduleDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the replication schedule should be created.CreateReplicationScheduleDetails.Builder
copy(CreateReplicationScheduleDetails model)
CreateReplicationScheduleDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateReplicationScheduleDetails.Builder
displayName(String displayName)
A user-friendly name for a replication schedule.CreateReplicationScheduleDetails.Builder
executionRecurrences(String executionRecurrences)
Recurrence specification for replication schedule execution.CreateReplicationScheduleDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
-
-
-
Method Detail
-
compartmentId
public CreateReplicationScheduleDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the replication schedule should be created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
executionRecurrences
public CreateReplicationScheduleDetails.Builder executionRecurrences(String executionRecurrences)
Recurrence specification for replication schedule execution.- Parameters:
executionRecurrences
- the value to set- Returns:
- this builder
-
displayName
public CreateReplicationScheduleDetails.Builder displayName(String displayName)
A user-friendly name for a replication schedule.Does not have to be unique, and is mutable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
freeformTags
public CreateReplicationScheduleDetails.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 CreateReplicationScheduleDetails.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
-
build
public CreateReplicationScheduleDetails build()
-
copy
public CreateReplicationScheduleDetails.Builder copy(CreateReplicationScheduleDetails model)
-
-