Package com.oracle.bmc.database.model
Class CreateExecutionWindowDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.CreateExecutionWindowDetails.Builder
-
- Enclosing class:
- CreateExecutionWindowDetails
public static class CreateExecutionWindowDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateExecutionWindowDetailsbuild()CreateExecutionWindowDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreateExecutionWindowDetails.Buildercopy(CreateExecutionWindowDetails model)CreateExecutionWindowDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateExecutionWindowDetails.BuilderexecutionResourceId(String executionResourceId)The OCID of the execution resource the execution window belongs to.CreateExecutionWindowDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateExecutionWindowDetails.BuilderisEnforcedDuration(Boolean isEnforcedDuration)Indicates if duration the user plans to allocate for scheduling window is strictly enforced.CreateExecutionWindowDetails.BuildertimeScheduled(Date timeScheduled)The scheduled start date and time of the execution window.CreateExecutionWindowDetails.BuilderwindowDurationInMins(Integer windowDurationInMins)Duration window allows user to set a duration they plan to allocate for Scheduling window.
-
-
-
Method Detail
-
compartmentId
public CreateExecutionWindowDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
executionResourceId
public CreateExecutionWindowDetails.Builder executionResourceId(String executionResourceId)
The OCID of the execution resource the execution window belongs to.- Parameters:
executionResourceId- the value to set- Returns:
- this builder
-
timeScheduled
public CreateExecutionWindowDetails.Builder timeScheduled(Date timeScheduled)
The scheduled start date and time of the execution window.- Parameters:
timeScheduled- the value to set- Returns:
- this builder
-
windowDurationInMins
public CreateExecutionWindowDetails.Builder windowDurationInMins(Integer windowDurationInMins)
Duration window allows user to set a duration they plan to allocate for Scheduling window.The duration is in minutes.
- Parameters:
windowDurationInMins- the value to set- Returns:
- this builder
-
isEnforcedDuration
public CreateExecutionWindowDetails.Builder isEnforcedDuration(Boolean isEnforcedDuration)
Indicates if duration the user plans to allocate for scheduling window is strictly enforced.The default value is FALSE.
- Parameters:
isEnforcedDuration- the value to set- Returns:
- this builder
-
freeformTags
public CreateExecutionWindowDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateExecutionWindowDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateExecutionWindowDetails build()
-
copy
public CreateExecutionWindowDetails.Builder copy(CreateExecutionWindowDetails model)
-
-