@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityBlockOffering extends Object implements Serializable, Cloneable
The recommended Capacity Block that fits your search requirements.
Constructor and Description |
---|
CapacityBlockOffering() |
Modifier and Type | Method and Description |
---|---|
CapacityBlockOffering |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone of the Capacity Block offering.
|
Integer |
getCapacityBlockDurationHours()
The amount of time of the Capacity Block reservation in hours.
|
String |
getCapacityBlockOfferingId()
The ID of the Capacity Block offering.
|
String |
getCurrencyCode()
The currency of the payment for the Capacity Block.
|
Date |
getEndDate()
The end date of the Capacity Block offering.
|
Integer |
getInstanceCount()
The number of instances in the Capacity Block offering.
|
String |
getInstanceType()
The instance type of the Capacity Block offering.
|
Date |
getStartDate()
The start date of the Capacity Block offering.
|
String |
getTenancy()
The tenancy of the Capacity Block.
|
String |
getUpfrontFee()
The total price to be paid up front.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone of the Capacity Block offering.
|
void |
setCapacityBlockDurationHours(Integer capacityBlockDurationHours)
The amount of time of the Capacity Block reservation in hours.
|
void |
setCapacityBlockOfferingId(String capacityBlockOfferingId)
The ID of the Capacity Block offering.
|
void |
setCurrencyCode(String currencyCode)
The currency of the payment for the Capacity Block.
|
void |
setEndDate(Date endDate)
The end date of the Capacity Block offering.
|
void |
setInstanceCount(Integer instanceCount)
The number of instances in the Capacity Block offering.
|
void |
setInstanceType(String instanceType)
The instance type of the Capacity Block offering.
|
void |
setStartDate(Date startDate)
The start date of the Capacity Block offering.
|
void |
setTenancy(String tenancy)
The tenancy of the Capacity Block.
|
void |
setUpfrontFee(String upfrontFee)
The total price to be paid up front.
|
String |
toString()
Returns a string representation of this object.
|
CapacityBlockOffering |
withAvailabilityZone(String availabilityZone)
The Availability Zone of the Capacity Block offering.
|
CapacityBlockOffering |
withCapacityBlockDurationHours(Integer capacityBlockDurationHours)
The amount of time of the Capacity Block reservation in hours.
|
CapacityBlockOffering |
withCapacityBlockOfferingId(String capacityBlockOfferingId)
The ID of the Capacity Block offering.
|
CapacityBlockOffering |
withCurrencyCode(String currencyCode)
The currency of the payment for the Capacity Block.
|
CapacityBlockOffering |
withEndDate(Date endDate)
The end date of the Capacity Block offering.
|
CapacityBlockOffering |
withInstanceCount(Integer instanceCount)
The number of instances in the Capacity Block offering.
|
CapacityBlockOffering |
withInstanceType(String instanceType)
The instance type of the Capacity Block offering.
|
CapacityBlockOffering |
withStartDate(Date startDate)
The start date of the Capacity Block offering.
|
CapacityBlockOffering |
withTenancy(CapacityReservationTenancy tenancy)
The tenancy of the Capacity Block.
|
CapacityBlockOffering |
withTenancy(String tenancy)
The tenancy of the Capacity Block.
|
CapacityBlockOffering |
withUpfrontFee(String upfrontFee)
The total price to be paid up front.
|
public void setCapacityBlockOfferingId(String capacityBlockOfferingId)
The ID of the Capacity Block offering.
capacityBlockOfferingId
- The ID of the Capacity Block offering.public String getCapacityBlockOfferingId()
The ID of the Capacity Block offering.
public CapacityBlockOffering withCapacityBlockOfferingId(String capacityBlockOfferingId)
The ID of the Capacity Block offering.
capacityBlockOfferingId
- The ID of the Capacity Block offering.public void setInstanceType(String instanceType)
The instance type of the Capacity Block offering.
instanceType
- The instance type of the Capacity Block offering.public String getInstanceType()
The instance type of the Capacity Block offering.
public CapacityBlockOffering withInstanceType(String instanceType)
The instance type of the Capacity Block offering.
instanceType
- The instance type of the Capacity Block offering.public void setAvailabilityZone(String availabilityZone)
The Availability Zone of the Capacity Block offering.
availabilityZone
- The Availability Zone of the Capacity Block offering.public String getAvailabilityZone()
The Availability Zone of the Capacity Block offering.
public CapacityBlockOffering withAvailabilityZone(String availabilityZone)
The Availability Zone of the Capacity Block offering.
availabilityZone
- The Availability Zone of the Capacity Block offering.public void setInstanceCount(Integer instanceCount)
The number of instances in the Capacity Block offering.
instanceCount
- The number of instances in the Capacity Block offering.public Integer getInstanceCount()
The number of instances in the Capacity Block offering.
public CapacityBlockOffering withInstanceCount(Integer instanceCount)
The number of instances in the Capacity Block offering.
instanceCount
- The number of instances in the Capacity Block offering.public void setStartDate(Date startDate)
The start date of the Capacity Block offering.
startDate
- The start date of the Capacity Block offering.public Date getStartDate()
The start date of the Capacity Block offering.
public CapacityBlockOffering withStartDate(Date startDate)
The start date of the Capacity Block offering.
startDate
- The start date of the Capacity Block offering.public void setEndDate(Date endDate)
The end date of the Capacity Block offering.
endDate
- The end date of the Capacity Block offering.public Date getEndDate()
The end date of the Capacity Block offering.
public CapacityBlockOffering withEndDate(Date endDate)
The end date of the Capacity Block offering.
endDate
- The end date of the Capacity Block offering.public void setCapacityBlockDurationHours(Integer capacityBlockDurationHours)
The amount of time of the Capacity Block reservation in hours.
capacityBlockDurationHours
- The amount of time of the Capacity Block reservation in hours.public Integer getCapacityBlockDurationHours()
The amount of time of the Capacity Block reservation in hours.
public CapacityBlockOffering withCapacityBlockDurationHours(Integer capacityBlockDurationHours)
The amount of time of the Capacity Block reservation in hours.
capacityBlockDurationHours
- The amount of time of the Capacity Block reservation in hours.public void setUpfrontFee(String upfrontFee)
The total price to be paid up front.
upfrontFee
- The total price to be paid up front.public String getUpfrontFee()
The total price to be paid up front.
public CapacityBlockOffering withUpfrontFee(String upfrontFee)
The total price to be paid up front.
upfrontFee
- The total price to be paid up front.public void setCurrencyCode(String currencyCode)
The currency of the payment for the Capacity Block.
currencyCode
- The currency of the payment for the Capacity Block.public String getCurrencyCode()
The currency of the payment for the Capacity Block.
public CapacityBlockOffering withCurrencyCode(String currencyCode)
The currency of the payment for the Capacity Block.
currencyCode
- The currency of the payment for the Capacity Block.public void setTenancy(String tenancy)
The tenancy of the Capacity Block.
tenancy
- The tenancy of the Capacity Block.CapacityReservationTenancy
public String getTenancy()
The tenancy of the Capacity Block.
CapacityReservationTenancy
public CapacityBlockOffering withTenancy(String tenancy)
The tenancy of the Capacity Block.
tenancy
- The tenancy of the Capacity Block.CapacityReservationTenancy
public CapacityBlockOffering withTenancy(CapacityReservationTenancy tenancy)
The tenancy of the Capacity Block.
tenancy
- The tenancy of the Capacity Block.CapacityReservationTenancy
public String toString()
toString
in class Object
Object.toString()
public CapacityBlockOffering clone()