@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetCapacityReservation extends Object implements Serializable, Cloneable
Information about a Capacity Reservation in a Capacity Reservation Fleet.
Constructor and Description |
---|
FleetCapacityReservation() |
Modifier and Type | Method and Description |
---|---|
FleetCapacityReservation |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone in which the Capacity Reservation reserves capacity.
|
String |
getAvailabilityZoneId()
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
|
String |
getCapacityReservationId()
The ID of the Capacity Reservation.
|
Date |
getCreateDate()
The date and time at which the Capacity Reservation was created.
|
Boolean |
getEbsOptimized()
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
|
Double |
getFulfilledCapacity()
The number of capacity units fulfilled by the Capacity Reservation.
|
String |
getInstancePlatform()
The type of operating system for which the Capacity Reservation reserves capacity.
|
String |
getInstanceType()
The instance type for which the Capacity Reservation reserves capacity.
|
Integer |
getPriority()
The priority of the instance type in the Capacity Reservation Fleet.
|
Integer |
getTotalInstanceCount()
The total number of instances for which the Capacity Reservation reserves capacity.
|
Double |
getWeight()
The weight of the instance type in the Capacity Reservation Fleet.
|
int |
hashCode() |
Boolean |
isEbsOptimized()
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Capacity Reservation reserves capacity.
|
void |
setAvailabilityZoneId(String availabilityZoneId)
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
|
void |
setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
void |
setCreateDate(Date createDate)
The date and time at which the Capacity Reservation was created.
|
void |
setEbsOptimized(Boolean ebsOptimized)
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
|
void |
setFulfilledCapacity(Double fulfilledCapacity)
The number of capacity units fulfilled by the Capacity Reservation.
|
void |
setInstancePlatform(String instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.
|
void |
setInstanceType(String instanceType)
The instance type for which the Capacity Reservation reserves capacity.
|
void |
setPriority(Integer priority)
The priority of the instance type in the Capacity Reservation Fleet.
|
void |
setTotalInstanceCount(Integer totalInstanceCount)
The total number of instances for which the Capacity Reservation reserves capacity.
|
void |
setWeight(Double weight)
The weight of the instance type in the Capacity Reservation Fleet.
|
String |
toString()
Returns a string representation of this object.
|
FleetCapacityReservation |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Capacity Reservation reserves capacity.
|
FleetCapacityReservation |
withAvailabilityZoneId(String availabilityZoneId)
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
|
FleetCapacityReservation |
withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
FleetCapacityReservation |
withCreateDate(Date createDate)
The date and time at which the Capacity Reservation was created.
|
FleetCapacityReservation |
withEbsOptimized(Boolean ebsOptimized)
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
|
FleetCapacityReservation |
withFulfilledCapacity(Double fulfilledCapacity)
The number of capacity units fulfilled by the Capacity Reservation.
|
FleetCapacityReservation |
withInstancePlatform(CapacityReservationInstancePlatform instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.
|
FleetCapacityReservation |
withInstancePlatform(String instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.
|
FleetCapacityReservation |
withInstanceType(InstanceType instanceType)
The instance type for which the Capacity Reservation reserves capacity.
|
FleetCapacityReservation |
withInstanceType(String instanceType)
The instance type for which the Capacity Reservation reserves capacity.
|
FleetCapacityReservation |
withPriority(Integer priority)
The priority of the instance type in the Capacity Reservation Fleet.
|
FleetCapacityReservation |
withTotalInstanceCount(Integer totalInstanceCount)
The total number of instances for which the Capacity Reservation reserves capacity.
|
FleetCapacityReservation |
withWeight(Double weight)
The weight of the instance type in the Capacity Reservation Fleet.
|
public void setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public String getCapacityReservationId()
The ID of the Capacity Reservation.
public FleetCapacityReservation withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public void setAvailabilityZoneId(String availabilityZoneId)
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
availabilityZoneId
- The ID of the Availability Zone in which the Capacity Reservation reserves capacity.public String getAvailabilityZoneId()
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
public FleetCapacityReservation withAvailabilityZoneId(String availabilityZoneId)
The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
availabilityZoneId
- The ID of the Availability Zone in which the Capacity Reservation reserves capacity.public void setInstanceType(String instanceType)
The instance type for which the Capacity Reservation reserves capacity.
instanceType
- The instance type for which the Capacity Reservation reserves capacity.InstanceType
public String getInstanceType()
The instance type for which the Capacity Reservation reserves capacity.
InstanceType
public FleetCapacityReservation withInstanceType(String instanceType)
The instance type for which the Capacity Reservation reserves capacity.
instanceType
- The instance type for which the Capacity Reservation reserves capacity.InstanceType
public FleetCapacityReservation withInstanceType(InstanceType instanceType)
The instance type for which the Capacity Reservation reserves capacity.
instanceType
- The instance type for which the Capacity Reservation reserves capacity.InstanceType
public void setInstancePlatform(String instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.
instancePlatform
- The type of operating system for which the Capacity Reservation reserves capacity.CapacityReservationInstancePlatform
public String getInstancePlatform()
The type of operating system for which the Capacity Reservation reserves capacity.
CapacityReservationInstancePlatform
public FleetCapacityReservation withInstancePlatform(String instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.
instancePlatform
- The type of operating system for which the Capacity Reservation reserves capacity.CapacityReservationInstancePlatform
public FleetCapacityReservation withInstancePlatform(CapacityReservationInstancePlatform instancePlatform)
The type of operating system for which the Capacity Reservation reserves capacity.
instancePlatform
- The type of operating system for which the Capacity Reservation reserves capacity.CapacityReservationInstancePlatform
public void setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Capacity Reservation reserves capacity.
availabilityZone
- The Availability Zone in which the Capacity Reservation reserves capacity.public String getAvailabilityZone()
The Availability Zone in which the Capacity Reservation reserves capacity.
public FleetCapacityReservation withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Capacity Reservation reserves capacity.
availabilityZone
- The Availability Zone in which the Capacity Reservation reserves capacity.public void setTotalInstanceCount(Integer totalInstanceCount)
The total number of instances for which the Capacity Reservation reserves capacity.
totalInstanceCount
- The total number of instances for which the Capacity Reservation reserves capacity.public Integer getTotalInstanceCount()
The total number of instances for which the Capacity Reservation reserves capacity.
public FleetCapacityReservation withTotalInstanceCount(Integer totalInstanceCount)
The total number of instances for which the Capacity Reservation reserves capacity.
totalInstanceCount
- The total number of instances for which the Capacity Reservation reserves capacity.public void setFulfilledCapacity(Double fulfilledCapacity)
The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.
fulfilledCapacity
- The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total
target capacity in the Amazon EC2 User Guide.public Double getFulfilledCapacity()
The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.
public FleetCapacityReservation withFulfilledCapacity(Double fulfilledCapacity)
The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.
fulfilledCapacity
- The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total
target capacity in the Amazon EC2 User Guide.public void setEbsOptimized(Boolean ebsOptimized)
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
ebsOptimized
- Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.public Boolean getEbsOptimized()
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
public FleetCapacityReservation withEbsOptimized(Boolean ebsOptimized)
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
ebsOptimized
- Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.public Boolean isEbsOptimized()
Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
public void setCreateDate(Date createDate)
The date and time at which the Capacity Reservation was created.
createDate
- The date and time at which the Capacity Reservation was created.public Date getCreateDate()
The date and time at which the Capacity Reservation was created.
public FleetCapacityReservation withCreateDate(Date createDate)
The date and time at which the Capacity Reservation was created.
createDate
- The date and time at which the Capacity Reservation was created.public void setWeight(Double weight)
The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.
weight
- The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance
type weight in the Amazon EC2 User Guide.public Double getWeight()
The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.
public FleetCapacityReservation withWeight(Double weight)
The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.
weight
- The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance
type weight in the Amazon EC2 User Guide.public void setPriority(Integer priority)
The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.
priority
- The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.public Integer getPriority()
The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.
public FleetCapacityReservation withPriority(Integer priority)
The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.
priority
- The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.public String toString()
toString
in class Object
Object.toString()
public FleetCapacityReservation clone()