Class ScheduleCreateOrUpdateParameters
java.lang.Object
com.azure.resourcemanager.automation.models.ScheduleCreateOrUpdateParameters
The parameters supplied to the create or update schedule operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the advancedSchedule property: Gets or sets the AdvancedSchedule.Get the description property: Gets or sets the description of the schedule.Get the expiryTime property: Gets or sets the end time of the schedule.Get the frequency property: Gets or sets the frequency of the schedule.interval()
Get the interval property: Gets or sets the interval of the schedule.name()
Get the name property: Gets or sets the name of the Schedule.Get the startTime property: Gets or sets the start time of the schedule.timeZone()
Get the timeZone property: Gets or sets the time zone of the schedule.void
validate()
Validates the instance.withAdvancedSchedule
(AdvancedSchedule advancedSchedule) Set the advancedSchedule property: Gets or sets the AdvancedSchedule.withDescription
(String description) Set the description property: Gets or sets the description of the schedule.withExpiryTime
(OffsetDateTime expiryTime) Set the expiryTime property: Gets or sets the end time of the schedule.withFrequency
(ScheduleFrequency frequency) Set the frequency property: Gets or sets the frequency of the schedule.withInterval
(Object interval) Set the interval property: Gets or sets the interval of the schedule.Set the name property: Gets or sets the name of the Schedule.withStartTime
(OffsetDateTime startTime) Set the startTime property: Gets or sets the start time of the schedule.withTimeZone
(String timeZone) Set the timeZone property: Gets or sets the time zone of the schedule.
-
Constructor Details
-
ScheduleCreateOrUpdateParameters
public ScheduleCreateOrUpdateParameters()
-
-
Method Details
-
name
Get the name property: Gets or sets the name of the Schedule.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name of the Schedule.- Parameters:
name
- the name value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
description
Get the description property: Gets or sets the description of the schedule.- Returns:
- the description value.
-
withDescription
Set the description property: Gets or sets the description of the schedule.- Parameters:
description
- the description value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
startTime
Get the startTime property: Gets or sets the start time of the schedule.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Gets or sets the start time of the schedule.- Parameters:
startTime
- the startTime value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
expiryTime
Get the expiryTime property: Gets or sets the end time of the schedule.- Returns:
- the expiryTime value.
-
withExpiryTime
Set the expiryTime property: Gets or sets the end time of the schedule.- Parameters:
expiryTime
- the expiryTime value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
interval
Get the interval property: Gets or sets the interval of the schedule.- Returns:
- the interval value.
-
withInterval
Set the interval property: Gets or sets the interval of the schedule.- Parameters:
interval
- the interval value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
frequency
Get the frequency property: Gets or sets the frequency of the schedule.- Returns:
- the frequency value.
-
withFrequency
Set the frequency property: Gets or sets the frequency of the schedule.- Parameters:
frequency
- the frequency value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
timeZone
Get the timeZone property: Gets or sets the time zone of the schedule.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: Gets or sets the time zone of the schedule.- Parameters:
timeZone
- the timeZone value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
advancedSchedule
Get the advancedSchedule property: Gets or sets the AdvancedSchedule.- Returns:
- the advancedSchedule value.
-
withAdvancedSchedule
Set the advancedSchedule property: Gets or sets the AdvancedSchedule.- Parameters:
advancedSchedule
- the advancedSchedule value to set.- Returns:
- the ScheduleCreateOrUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-