Interface UpdateMaintenanceWindowResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<UpdateMaintenanceWindowResponse.Builder,UpdateMaintenanceWindowResponse>, SdkBuilder<UpdateMaintenanceWindowResponse.Builder,UpdateMaintenanceWindowResponse>, SdkPojo, SdkResponse.Builder, SsmResponse.Builder
Enclosing class:
UpdateMaintenanceWindowResponse

public static interface UpdateMaintenanceWindowResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateMaintenanceWindowResponse.Builder,UpdateMaintenanceWindowResponse>
  • Method Details

    • windowId

      The ID of the created maintenance window.

      Parameters:
      windowId - The ID of the created maintenance window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the maintenance window.

      Parameters:
      name - The name of the maintenance window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      An optional description of the update.

      Parameters:
      description - An optional description of the update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startDate

      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.

      Parameters:
      startDate - The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.

      Parameters:
      endDate - The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedule

      The schedule of the maintenance window in the form of a cron or rate expression.

      Parameters:
      schedule - The schedule of the maintenance window in the form of a cron or rate expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleTimezone

      UpdateMaintenanceWindowResponse.Builder scheduleTimezone(String scheduleTimezone)

      The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.

      Parameters:
      scheduleTimezone - The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleOffset

      UpdateMaintenanceWindowResponse.Builder scheduleOffset(Integer scheduleOffset)

      The number of days to wait to run a maintenance window after the scheduled cron expression date and time.

      Parameters:
      scheduleOffset - The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      The duration of the maintenance window in hours.

      Parameters:
      duration - The duration of the maintenance window in hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cutoff

      The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.

      Parameters:
      cutoff - The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowUnassociatedTargets

      UpdateMaintenanceWindowResponse.Builder allowUnassociatedTargets(Boolean allowUnassociatedTargets)

      Whether targets must be registered with the maintenance window before tasks can be defined for those targets.

      Parameters:
      allowUnassociatedTargets - Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      Whether the maintenance window is enabled.

      Parameters:
      enabled - Whether the maintenance window is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.