Interface StartServiceSoftwareUpdateRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<StartServiceSoftwareUpdateRequest.Builder,StartServiceSoftwareUpdateRequest>, OpenSearchRequest.Builder, SdkBuilder<StartServiceSoftwareUpdateRequest.Builder,StartServiceSoftwareUpdateRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
StartServiceSoftwareUpdateRequest

public static interface StartServiceSoftwareUpdateRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<StartServiceSoftwareUpdateRequest.Builder,StartServiceSoftwareUpdateRequest>
  • Method Details

    • domainName

      The name of the domain that you want to update to the latest service software.

      Parameters:
      domainName - The name of the domain that you want to update to the latest service software.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleAt

      When to start the service software update.

      • NOW - Immediately schedules the update to happen in the current hour if there's capacity available.

      • TIMESTAMP - Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value for DesiredStartTime.

      • OFF_PEAK_WINDOW - Marks the update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days.

      Default: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do.

      Parameters:
      scheduleAt - When to start the service software update.

      • NOW - Immediately schedules the update to happen in the current hour if there's capacity available.

      • TIMESTAMP - Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value for DesiredStartTime.

      • OFF_PEAK_WINDOW - Marks the update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days.

      Default: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheduleAt

      When to start the service software update.

      • NOW - Immediately schedules the update to happen in the current hour if there's capacity available.

      • TIMESTAMP - Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value for DesiredStartTime.

      • OFF_PEAK_WINDOW - Marks the update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days.

      Default: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do.

      Parameters:
      scheduleAt - When to start the service software update.

      • NOW - Immediately schedules the update to happen in the current hour if there's capacity available.

      • TIMESTAMP - Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value for DesiredStartTime.

      • OFF_PEAK_WINDOW - Marks the update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days.

      Default: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • desiredStartTime

      StartServiceSoftwareUpdateRequest.Builder desiredStartTime(Long desiredStartTime)

      The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt to TIMESTAMP.

      Parameters:
      desiredStartTime - The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt to TIMESTAMP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      StartServiceSoftwareUpdateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.