Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpotFleetRequestConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpotFleetRequestConfig
clone()
boolean
equals(Object obj)
Date
getCreateTime()
The creation date and time of the request.SpotFleetRequestConfigData
getSpotFleetRequestConfig()
Information about the configuration of the Spot fleet request.String
getSpotFleetRequestId()
The ID of the Spot fleet request.String
getSpotFleetRequestState()
The state of the Spot fleet request.int
hashCode()
void
setCreateTime(Date createTime)
The creation date and time of the request.void
setSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Information about the configuration of the Spot fleet request.void
setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.void
setSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.void
setSpotFleetRequestState(String spotFleetRequestState)
The state of the Spot fleet request.String
toString()
Returns a string representation of this object; useful for testing and debugging.SpotFleetRequestConfig
withCreateTime(Date createTime)
The creation date and time of the request.SpotFleetRequestConfig
withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Information about the configuration of the Spot fleet request.SpotFleetRequestConfig
withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.SpotFleetRequestConfig
withSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.SpotFleetRequestConfig
withSpotFleetRequestState(String spotFleetRequestState)
The state of the Spot fleet request.
-
-
-
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 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:
BatchState
-
getSpotFleetRequestState
public String getSpotFleetRequestState()
The state of the Spot fleet request.
- Returns:
- The state of the Spot fleet request.
- See Also:
BatchState
-
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:
BatchState
-
setSpotFleetRequestState
public void setSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.
- Parameters:
spotFleetRequestState
- The state of the Spot fleet request.- See Also:
BatchState
-
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:
BatchState
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SpotFleetRequestConfig clone()
-
-