Class UpdateFleetCapacityRequest

    • Method Detail

      • fleetId

        public final String fleetId()

        A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.

        Returns:
        A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.
      • desiredInstances

        public final Integer desiredInstances()

        The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.

        Returns:
        The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.
      • minSize

        public final Integer minSize()

        The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.

        Returns:
        The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.
      • maxSize

        public final Integer maxSize()

        The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.

        Returns:
        The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
      • location

        public final String location()

        The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region code such as us-west-2.

        Returns:
        The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region code such as us-west-2.
      • 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