CreateMaintenanceWindowDetails

class oci.golden_gate.models.CreateMaintenanceWindowDetails(**kwargs)

Bases: object

Defines the maintenance window for create operation, when automatic actions can be performed.

Attributes

DAY_FRIDAY A constant which can be used with the day property of a CreateMaintenanceWindowDetails.
DAY_MONDAY A constant which can be used with the day property of a CreateMaintenanceWindowDetails.
DAY_SATURDAY A constant which can be used with the day property of a CreateMaintenanceWindowDetails.
DAY_SUNDAY A constant which can be used with the day property of a CreateMaintenanceWindowDetails.
DAY_THURSDAY A constant which can be used with the day property of a CreateMaintenanceWindowDetails.
DAY_TUESDAY A constant which can be used with the day property of a CreateMaintenanceWindowDetails.
DAY_WEDNESDAY A constant which can be used with the day property of a CreateMaintenanceWindowDetails.
day [Required] Gets the day of this CreateMaintenanceWindowDetails.
start_hour [Required] Gets the start_hour of this CreateMaintenanceWindowDetails.

Methods

__init__(**kwargs) Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments.
DAY_FRIDAY = 'FRIDAY'

A constant which can be used with the day property of a CreateMaintenanceWindowDetails. This constant has a value of “FRIDAY”

DAY_MONDAY = 'MONDAY'

A constant which can be used with the day property of a CreateMaintenanceWindowDetails. This constant has a value of “MONDAY”

DAY_SATURDAY = 'SATURDAY'

A constant which can be used with the day property of a CreateMaintenanceWindowDetails. This constant has a value of “SATURDAY”

DAY_SUNDAY = 'SUNDAY'

A constant which can be used with the day property of a CreateMaintenanceWindowDetails. This constant has a value of “SUNDAY”

DAY_THURSDAY = 'THURSDAY'

A constant which can be used with the day property of a CreateMaintenanceWindowDetails. This constant has a value of “THURSDAY”

DAY_TUESDAY = 'TUESDAY'

A constant which can be used with the day property of a CreateMaintenanceWindowDetails. This constant has a value of “TUESDAY”

DAY_WEDNESDAY = 'WEDNESDAY'

A constant which can be used with the day property of a CreateMaintenanceWindowDetails. This constant has a value of “WEDNESDAY”

__init__(**kwargs)

Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • day (str) – The value to assign to the day property of this CreateMaintenanceWindowDetails. Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”
  • start_hour (int) – The value to assign to the start_hour property of this CreateMaintenanceWindowDetails.
day

[Required] Gets the day of this CreateMaintenanceWindowDetails. Days of the week.

Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”

Returns:The day of this CreateMaintenanceWindowDetails.
Return type:str
start_hour

[Required] Gets the start_hour of this CreateMaintenanceWindowDetails. Start hour for maintenance period. Hour is in UTC.

Returns:The start_hour of this CreateMaintenanceWindowDetails.
Return type:int