Class RollingUpdatePolicy

    • Method Detail

      • maximumBatchSize

        public final CapacitySize maximumBatchSize()

        Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.

        Returns:
        Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.
      • waitIntervalInSeconds

        public final Integer waitIntervalInSeconds()

        The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.

        Returns:
        The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
      • maximumExecutionTimeoutInSeconds

        public final Integer maximumExecutionTimeoutInSeconds()

        The time limit for the total deployment. Exceeding this limit causes a timeout.

        Returns:
        The time limit for the total deployment. Exceeding this limit causes a timeout.
      • rollbackMaximumBatchSize

        public final CapacitySize rollbackMaximumBatchSize()

        Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.

        Returns:
        Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)