Class GroupConfiguration.Builder

    • Field Detail

      • cooldown

        protected int cooldown
      • minEntities

        protected int minEntities
      • maxEntities

        protected int maxEntities
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cooldown

        public GroupConfiguration.Builder cooldown​(int cooldown)
        Required. The period of time, in seconds, that must pass before any scaling can occur after the previous scaling. Must be an integer between 0 and 86400 (24 hrs).
        Parameters:
        cooldown - The cooldown for this GroupConfiguration.
        Returns:
        The builder object.
        See Also:
        GroupConfiguration.getCooldown()
      • minEntities

        public GroupConfiguration.Builder minEntities​(int minEntities)
        Required. The minimum number of entities in the scaling group. This number must be an integer between 0 and 1000.
        Parameters:
        minEntities - The cooldown for this GroupConfiguration.
        Returns:
        The builder object.
        See Also:
        GroupConfiguration.getCooldown()
      • maxEntities

        public GroupConfiguration.Builder maxEntities​(int maxEntities)
        Optional. The maximum number of entities that are allowed in the scaling group. If unconfigured, defaults to 1000. If this parameter is provided it must be set to an integer between 0 and 1000.
        Parameters:
        maxEntities - The maxEntities for this GroupConfiguration.
        Returns:
        The builder object.
        See Also:
        GroupConfiguration.getCooldown()
      • metadata

        public GroupConfiguration.Builder metadata​(Map<String,​String> metadata)
        Optional. This optional parameter specifies custom metadata for your group configuration. You can use the metadata parameter for customer automation, but it does not change any functionality in Auto Scale. There currently is no limitation on depth.
        Parameters:
        metadata - The metadata for this GroupConfiguration.
        Returns:
        The builder object.
        See Also:
        GroupConfiguration.getMetadata()