public static class ReplicationSchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReplicationSchedule |
build() |
ReplicationSchedule.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment in which the replication schedule exists.
|
ReplicationSchedule.Builder |
copy(ReplicationSchedule model) |
ReplicationSchedule.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ReplicationSchedule.Builder |
displayName(String displayName)
A name of the replication schedule.
|
ReplicationSchedule.Builder |
executionRecurrences(String executionRecurrences)
Recurrence specification for the replication schedule execution.
|
ReplicationSchedule.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ReplicationSchedule.Builder |
id(String id)
The OCID of the
replication schedule.
|
ReplicationSchedule.Builder |
lifecycleDetails(String lifecycleDetails)
The detailed state of the replication schedule.
|
ReplicationSchedule.Builder |
lifecycleState(ReplicationSchedule.LifecycleState lifecycleState)
Current state of the replication schedule.
|
ReplicationSchedule.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ReplicationSchedule.Builder |
timeCreated(Date timeCreated)
The time when the replication schedule was created in RFC3339 format.
|
ReplicationSchedule.Builder |
timeUpdated(Date timeUpdated)
The time when the replication schedule was last updated in RFC3339 format.
|
public ReplicationSchedule.Builder id(String id)
The OCID of the replication schedule.
id
- the value to setpublic ReplicationSchedule.Builder displayName(String displayName)
A name of the replication schedule.
displayName
- the value to setpublic ReplicationSchedule.Builder executionRecurrences(String executionRecurrences)
Recurrence specification for the replication schedule execution.
executionRecurrences
- the value to setpublic ReplicationSchedule.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the replication schedule exists.
compartmentId
- the value to setpublic ReplicationSchedule.Builder lifecycleState(ReplicationSchedule.LifecycleState lifecycleState)
Current state of the replication schedule.
lifecycleState
- the value to setpublic ReplicationSchedule.Builder lifecycleDetails(String lifecycleDetails)
The detailed state of the replication schedule.
lifecycleDetails
- the value to setpublic ReplicationSchedule.Builder timeCreated(Date timeCreated)
The time when the replication schedule was created in RFC3339 format.
timeCreated
- the value to setpublic ReplicationSchedule.Builder timeUpdated(Date timeUpdated)
The time when the replication schedule was last updated in RFC3339 format.
timeUpdated
- the value to setpublic ReplicationSchedule.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 ReplicationSchedule.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 ReplicationSchedule.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 ReplicationSchedule build()
public ReplicationSchedule.Builder copy(ReplicationSchedule model)
Copyright © 2016–2024. All rights reserved.