Class AwsEcsServiceCapacityProviderStrategyDetails

    • Method Detail

      • base

        public final Integer base()

        The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

        The value must be between 0 and 100000.

        Returns:
        The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

        The value must be between 0 and 100000.

      • capacityProvider

        public final String capacityProvider()

        The short name of the capacity provider.

        Returns:
        The short name of the capacity provider.
      • weight

        public final Integer weight()

        The relative percentage of the total number of tasks that should use the capacity provider.

        If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

        The value can be between 0 and 1000.

        Returns:
        The relative percentage of the total number of tasks that should use the capacity provider.

        If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

        The value can be between 0 and 1000.

      • 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)