Interface CapacityBlockOffering.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityBlockOffering.Builder,CapacityBlockOffering>,SdkBuilder<CapacityBlockOffering.Builder,CapacityBlockOffering>,SdkPojo
- Enclosing class:
- CapacityBlockOffering
public static interface CapacityBlockOffering.Builder extends SdkPojo, CopyableBuilder<CapacityBlockOffering.Builder,CapacityBlockOffering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityBlockOffering.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the Capacity Block offering.CapacityBlockOffering.BuildercapacityBlockDurationHours(Integer capacityBlockDurationHours)The amount of time of the Capacity Block reservation in hours.CapacityBlockOffering.BuildercapacityBlockOfferingId(String capacityBlockOfferingId)The ID of the Capacity Block offering.CapacityBlockOffering.BuildercurrencyCode(String currencyCode)The currency of the payment for the Capacity Block.CapacityBlockOffering.BuilderendDate(Instant endDate)The end date of the Capacity Block offering.CapacityBlockOffering.BuilderinstanceCount(Integer instanceCount)The number of instances in the Capacity Block offering.CapacityBlockOffering.BuilderinstanceType(String instanceType)The instance type of the Capacity Block offering.CapacityBlockOffering.BuilderstartDate(Instant startDate)The start date of the Capacity Block offering.CapacityBlockOffering.Buildertenancy(String tenancy)The tenancy of the Capacity Block.CapacityBlockOffering.Buildertenancy(CapacityReservationTenancy tenancy)The tenancy of the Capacity Block.CapacityBlockOffering.BuilderupfrontFee(String upfrontFee)The total price to be paid up front.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
capacityBlockOfferingId
CapacityBlockOffering.Builder capacityBlockOfferingId(String capacityBlockOfferingId)
The ID of the Capacity Block offering.
- Parameters:
capacityBlockOfferingId- The ID of the Capacity Block offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
CapacityBlockOffering.Builder instanceType(String instanceType)
The instance type of the Capacity Block offering.
- Parameters:
instanceType- The instance type of the Capacity Block offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
CapacityBlockOffering.Builder availabilityZone(String availabilityZone)
The Availability Zone of the Capacity Block offering.
- Parameters:
availabilityZone- The Availability Zone of the Capacity Block offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
CapacityBlockOffering.Builder instanceCount(Integer instanceCount)
The number of instances in the Capacity Block offering.
- Parameters:
instanceCount- The number of instances in the Capacity Block offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
CapacityBlockOffering.Builder startDate(Instant startDate)
The start date of the Capacity Block offering.
- Parameters:
startDate- The start date of the Capacity Block offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
CapacityBlockOffering.Builder endDate(Instant endDate)
The end date of the Capacity Block offering.
- Parameters:
endDate- The end date of the Capacity Block offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockDurationHours
CapacityBlockOffering.Builder capacityBlockDurationHours(Integer capacityBlockDurationHours)
The amount of time of the Capacity Block reservation in hours.
- Parameters:
capacityBlockDurationHours- The amount of time of the Capacity Block reservation in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontFee
CapacityBlockOffering.Builder upfrontFee(String upfrontFee)
The total price to be paid up front.
- Parameters:
upfrontFee- The total price to be paid up front.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
CapacityBlockOffering.Builder currencyCode(String currencyCode)
The currency of the payment for the Capacity Block.
- Parameters:
currencyCode- The currency of the payment for the Capacity Block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
CapacityBlockOffering.Builder tenancy(String tenancy)
The tenancy of the Capacity Block.
- Parameters:
tenancy- The tenancy of the Capacity Block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacityReservationTenancy,CapacityReservationTenancy
-
tenancy
CapacityBlockOffering.Builder tenancy(CapacityReservationTenancy tenancy)
The tenancy of the Capacity Block.
- Parameters:
tenancy- The tenancy of the Capacity Block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacityReservationTenancy,CapacityReservationTenancy
-
-