Package com.amazonaws.services.ec2.model
Class SpotFleetRequestConfig
java.lang.Object
com.amazonaws.services.ec2.model.SpotFleetRequestConfig
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a Spot fleet request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The creation date and time of the request.Information about the configuration of the Spot fleet request.The ID of the Spot fleet request.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCreateTime
(Date createTime) The creation date and time of the request.withSpotFleetRequestConfig
(SpotFleetRequestConfigData spotFleetRequestConfig) Information about the configuration of the Spot fleet request.withSpotFleetRequestId
(String spotFleetRequestId) The ID of the Spot fleet request.withSpotFleetRequestState
(BatchState spotFleetRequestState) The state of the Spot fleet request.withSpotFleetRequestState
(String spotFleetRequestState) The state of the Spot fleet request.
-
Constructor Details
-
SpotFleetRequestConfig
public SpotFleetRequestConfig()
-
-
Method Details
-
setSpotFleetRequestId
The ID of the Spot fleet request.
- Parameters:
spotFleetRequestId
- The ID of the Spot fleet request.
-
getSpotFleetRequestId
The ID of the Spot fleet request.
- Returns:
- The ID of the Spot fleet request.
-
withSpotFleetRequestId
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
The state of the Spot fleet request.
- Parameters:
spotFleetRequestState
- The state of the Spot fleet request.- See Also:
-
getSpotFleetRequestState
The state of the Spot fleet request.
- Returns:
- The state of the Spot fleet request.
- See Also:
-
withSpotFleetRequestState
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
The state of the Spot fleet request.
- Parameters:
spotFleetRequestState
- The state of the Spot fleet request.- See Also:
-
withSpotFleetRequestState
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
Information about the configuration of the Spot fleet request.
- Parameters:
spotFleetRequestConfig
- Information about the configuration of the Spot fleet request.
-
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
The creation date and time of the request.
- Parameters:
createTime
- The creation date and time of the request.
-
getCreateTime
The creation date and time of the request.
- Returns:
- The creation date and time of the request.
-
withCreateTime
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-