Class SpotFleetRequestConfig

java.lang.Object
com.amazonaws.services.ec2.model.SpotFleetRequestConfig
All Implemented Interfaces:
Serializable, Cloneable

public class SpotFleetRequestConfig extends Object implements Serializable, Cloneable

Describes a Spot fleet request.

See Also:
  • Constructor Details

    • SpotFleetRequestConfig

      public SpotFleetRequestConfig()
  • Method Details

    • 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 SpotFleetRequestConfig 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.
    • setSpotFleetRequestState

      public void setSpotFleetRequestState(String spotFleetRequestState)

      The state of the Spot fleet request.

      Parameters:
      spotFleetRequestState - The state of the Spot fleet request.
      See Also:
    • getSpotFleetRequestState

      public String getSpotFleetRequestState()

      The state of the Spot fleet request.

      Returns:
      The state of the Spot fleet request.
      See Also:
    • withSpotFleetRequestState

      public SpotFleetRequestConfig withSpotFleetRequestState(String spotFleetRequestState)

      The state of the Spot fleet request.

      Parameters:
      spotFleetRequestState - The state of the Spot fleet request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setSpotFleetRequestState

      public void setSpotFleetRequestState(BatchState spotFleetRequestState)

      The state of the Spot fleet request.

      Parameters:
      spotFleetRequestState - The state of the Spot fleet request.
      See Also:
    • withSpotFleetRequestState

      public SpotFleetRequestConfig withSpotFleetRequestState(BatchState spotFleetRequestState)

      The state of the Spot fleet request.

      Parameters:
      spotFleetRequestState - The state of the Spot fleet request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setSpotFleetRequestConfig

      public void setSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)

      Information about the configuration of the Spot fleet request.

      Parameters:
      spotFleetRequestConfig - Information about the configuration of the Spot fleet request.
    • getSpotFleetRequestConfig

      public SpotFleetRequestConfigData getSpotFleetRequestConfig()

      Information about the configuration of the Spot fleet request.

      Returns:
      Information about the configuration of the Spot fleet request.
    • withSpotFleetRequestConfig

      public SpotFleetRequestConfig withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)

      Information about the configuration of the Spot fleet request.

      Parameters:
      spotFleetRequestConfig - Information about the configuration of the Spot fleet request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreateTime

      public void setCreateTime(Date createTime)

      The creation date and time of the request.

      Parameters:
      createTime - The creation date and time of the request.
    • getCreateTime

      public Date getCreateTime()

      The creation date and time of the request.

      Returns:
      The creation date and time of the request.
    • withCreateTime

      public SpotFleetRequestConfig withCreateTime(Date createTime)

      The creation date and time of the request.

      Parameters:
      createTime - The creation date and time of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public SpotFleetRequestConfig clone()
      Overrides:
      clone in class Object