Class ModifySpotFleetRequestRequest

    • Constructor Detail

      • ModifySpotFleetRequestRequest

        public ModifySpotFleetRequestRequest()
    • Method Detail

      • setSpotFleetRequestId

        public void setSpotFleetRequestId​(String spotFleetRequestId)

        The ID of the Spot fleet request.

        Parameters:
        spotFleetRequestId - The ID of the Spot fleet request.
      • getSpotFleetRequestId

        public String getSpotFleetRequestId()

        The ID of the Spot fleet request.

        Returns:
        The ID of the Spot fleet request.
      • withSpotFleetRequestId

        public ModifySpotFleetRequestRequest withSpotFleetRequestId​(String spotFleetRequestId)

        The ID of the Spot fleet request.

        Parameters:
        spotFleetRequestId - The ID of the Spot fleet request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTargetCapacity

        public void setTargetCapacity​(Integer targetCapacity)

        The size of the fleet.

        Parameters:
        targetCapacity - The size of the fleet.
      • getTargetCapacity

        public Integer getTargetCapacity()

        The size of the fleet.

        Returns:
        The size of the fleet.
      • withTargetCapacity

        public ModifySpotFleetRequestRequest withTargetCapacity​(Integer targetCapacity)

        The size of the fleet.

        Parameters:
        targetCapacity - The size of the fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExcessCapacityTerminationPolicy

        public void setExcessCapacityTerminationPolicy​(String excessCapacityTerminationPolicy)

        Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.

        Parameters:
        excessCapacityTerminationPolicy - Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.
        See Also:
        ExcessCapacityTerminationPolicy
      • getExcessCapacityTerminationPolicy

        public String getExcessCapacityTerminationPolicy()

        Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.

        Returns:
        Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.
        See Also:
        ExcessCapacityTerminationPolicy
      • withExcessCapacityTerminationPolicy

        public ModifySpotFleetRequestRequest withExcessCapacityTerminationPolicy​(String excessCapacityTerminationPolicy)

        Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.

        Parameters:
        excessCapacityTerminationPolicy - Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExcessCapacityTerminationPolicy
      • setExcessCapacityTerminationPolicy

        public void setExcessCapacityTerminationPolicy​(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)

        Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.

        Parameters:
        excessCapacityTerminationPolicy - Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.
        See Also:
        ExcessCapacityTerminationPolicy
      • withExcessCapacityTerminationPolicy

        public ModifySpotFleetRequestRequest withExcessCapacityTerminationPolicy​(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)

        Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.

        Parameters:
        excessCapacityTerminationPolicy - Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExcessCapacityTerminationPolicy
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object