Interface CapacityBlockOfferingSegment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityBlockOfferingSegment.Builder,,CapacityBlockOfferingSegment> SdkBuilder<CapacityBlockOfferingSegment.Builder,,CapacityBlockOfferingSegment> SdkPojo
- Enclosing class:
CapacityBlockOfferingSegment
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone of the Capacity Block offering segment.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone for the Capacity Block offering segment.capacityBlockDurationHours(Integer capacityBlockDurationHours) The number of hours for the duration of the Capacity Block offering segment.capacityBlockDurationMinutes(Integer capacityBlockDurationMinutes) The number of minutes for the duration of the Capacity Block offering segment.currencyCode(String currencyCode) The currency of the payment for the Capacity Block offering segment.The end date of the Capacity Block offering segment.instanceCount(Integer instanceCount) The number of instances in the Capacity Block offering segment.instanceType(String instanceType) The instance type of the Capacity Block offering segment.The start date of the Capacity Block offering segment.upfrontFee(String upfrontFee) The total price to be paid up front for the Capacity Block offering segment.The type of zone where the Capacity Block offering segment is available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceType
The instance type of the Capacity Block offering segment.
- Parameters:
instanceType- The instance type of the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the Capacity Block offering segment.
- Parameters:
availabilityZone- The Availability Zone of the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The ID of the Availability Zone for the Capacity Block offering segment.
- Parameters:
availabilityZoneId- The ID of the Availability Zone for the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
The number of instances in the Capacity Block offering segment.
- Parameters:
instanceCount- The number of instances in the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
The start date of the Capacity Block offering segment.
- Parameters:
startDate- The start date of the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
The end date of the Capacity Block offering segment.
- Parameters:
endDate- The end date of the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockDurationHours
The number of hours for the duration of the Capacity Block offering segment.
- Parameters:
capacityBlockDurationHours- The number of hours for the duration of the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockDurationMinutes
CapacityBlockOfferingSegment.Builder capacityBlockDurationMinutes(Integer capacityBlockDurationMinutes) The number of minutes for the duration of the Capacity Block offering segment.
- Parameters:
capacityBlockDurationMinutes- The number of minutes for the duration of the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontFee
The total price to be paid up front for the Capacity Block offering segment.
- Parameters:
upfrontFee- The total price to be paid up front for the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency of the payment for the Capacity Block offering segment.
- Parameters:
currencyCode- The currency of the payment for the Capacity Block offering segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneType
The type of zone where the Capacity Block offering segment is available.
- Parameters:
zoneType- The type of zone where the Capacity Block offering segment is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-