Class ActiveInstance
java.lang.Object
com.amazonaws.services.ec2.model.ActiveInstance
- All Implemented Interfaces:
Serializable, Cloneable
Describes a running instance in a Spot fleet.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID of the instance.The instance type.The ID of the Spot instance request.inthashCode()voidsetInstanceId(String instanceId) The ID of the instance.voidsetInstanceType(String instanceType) The instance type.voidsetSpotInstanceRequestId(String spotInstanceRequestId) The ID of the Spot instance request.toString()Returns a string representation of this object; useful for testing and debugging.withInstanceId(String instanceId) The ID of the instance.withInstanceType(String instanceType) The instance type.withSpotInstanceRequestId(String spotInstanceRequestId) The ID of the Spot instance request.
-
Constructor Details
-
ActiveInstance
public ActiveInstance()
-
-
Method Details
-
setInstanceType
The instance type.
- Parameters:
instanceType- The instance type.
-
getInstanceType
-
withInstanceType
The instance type.
- Parameters:
instanceType- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.
-
getInstanceId
-
withInstanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSpotInstanceRequestId
The ID of the Spot instance request.
- Parameters:
spotInstanceRequestId- The ID of the Spot instance request.
-
getSpotInstanceRequestId
The ID of the Spot instance request.
- Returns:
- The ID of the Spot instance request.
-
withSpotInstanceRequestId
The ID of the Spot instance request.
- Parameters:
spotInstanceRequestId- The ID of the Spot instance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-