Sdílet prostřednictvím


ScheduleEntry Class

  • java.lang.Object
    • com.microsoft.azure.management.redis.ScheduleEntry

public class ScheduleEntry

Patch schedule entry for a Premium Redis Cache.

Constructor Summary

Constructor Description
ScheduleEntry()

Method Summary

Modifier and Type Method and Description
DayOfWeek dayOfWeek()

Get the dayOfWeek value.

org.joda.time.Period maintenanceWindow()

Get the maintenanceWindow value.

int startHourUtc()

Get the startHourUtc value.

ScheduleEntry withDayOfWeek(DayOfWeek dayOfWeek)

Set the dayOfWeek value.

ScheduleEntry withMaintenanceWindow(Period maintenanceWindow)

Set the maintenanceWindow value.

ScheduleEntry withStartHourUtc(int startHourUtc)

Set the startHourUtc value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ScheduleEntry

public ScheduleEntry()

Method Details

dayOfWeek

public DayOfWeek dayOfWeek()

Get the dayOfWeek value.

Returns:

the dayOfWeek value

maintenanceWindow

public Period maintenanceWindow()

Get the maintenanceWindow value.

Returns:

the maintenanceWindow value

startHourUtc

public int startHourUtc()

Get the startHourUtc value.

Returns:

the startHourUtc value

withDayOfWeek

public ScheduleEntry withDayOfWeek(DayOfWeek dayOfWeek)

Set the dayOfWeek value.

Parameters:

dayOfWeek - the dayOfWeek value to set

Returns:

the ScheduleEntry object itself.

withMaintenanceWindow

public ScheduleEntry withMaintenanceWindow(Period maintenanceWindow)

Set the maintenanceWindow value.

Parameters:

maintenanceWindow - the maintenanceWindow value to set

Returns:

the ScheduleEntry object itself.

withStartHourUtc

public ScheduleEntry withStartHourUtc(int startHourUtc)

Set the startHourUtc value.

Parameters:

startHourUtc - the startHourUtc value to set

Returns:

the ScheduleEntry object itself.

Applies to