Interface UpdateRetrainingSchedulerRequest.Builder

    • Method Detail

      • modelName

        UpdateRetrainingSchedulerRequest.Builder modelName​(String modelName)

        The name of the model whose retraining scheduler you want to update.

        Parameters:
        modelName - The name of the model whose retraining scheduler you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retrainingStartDate

        UpdateRetrainingSchedulerRequest.Builder retrainingStartDate​(Instant retrainingStartDate)

        The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day.

        Parameters:
        retrainingStartDate - The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retrainingFrequency

        UpdateRetrainingSchedulerRequest.Builder retrainingFrequency​(String retrainingFrequency)

        This parameter uses the ISO 8601 standard to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note: other parameters like Time are not currently supported). The minimum value is 30 days (P30D) and the maximum value is 1 year (P1Y). For example, the following values are valid:

        • P3M15D – Every 3 months and 15 days

        • P2M – Every 2 months

        • P150D – Every 150 days

        Parameters:
        retrainingFrequency - This parameter uses the ISO 8601 standard to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note: other parameters like Time are not currently supported). The minimum value is 30 days (P30D) and the maximum value is 1 year (P1Y). For example, the following values are valid:

        • P3M15D – Every 3 months and 15 days

        • P2M – Every 2 months

        • P150D – Every 150 days

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

        UpdateRetrainingSchedulerRequest.Builder lookbackWindow​(String lookbackWindow)

        The number of past days of data that will be used for retraining.

        Parameters:
        lookbackWindow - The number of past days of data that will be used for retraining.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • promoteMode

        UpdateRetrainingSchedulerRequest.Builder promoteMode​(String promoteMode)

        Indicates how the service will use new models. In MANAGED mode, new models will automatically be used for inference if they have better performance than the current model. In MANUAL mode, the new models will not be used until they are manually activated.

        Parameters:
        promoteMode - Indicates how the service will use new models. In MANAGED mode, new models will automatically be used for inference if they have better performance than the current model. In MANUAL mode, the new models will not be used until they are manually activated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelPromoteMode, ModelPromoteMode
      • promoteMode

        UpdateRetrainingSchedulerRequest.Builder promoteMode​(ModelPromoteMode promoteMode)

        Indicates how the service will use new models. In MANAGED mode, new models will automatically be used for inference if they have better performance than the current model. In MANUAL mode, the new models will not be used until they are manually activated.

        Parameters:
        promoteMode - Indicates how the service will use new models. In MANAGED mode, new models will automatically be used for inference if they have better performance than the current model. In MANUAL mode, the new models will not be used until they are manually activated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelPromoteMode, ModelPromoteMode