Interface ReservedCapacityOffering.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReservedCapacityOffering.Builder,ReservedCapacityOffering>,SdkBuilder<ReservedCapacityOffering.Builder,ReservedCapacityOffering>,SdkPojo
- Enclosing class:
- ReservedCapacityOffering
public static interface ReservedCapacityOffering.Builder extends SdkPojo, CopyableBuilder<ReservedCapacityOffering.Builder,ReservedCapacityOffering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReservedCapacityOffering.BuilderavailabilityZone(String availabilityZone)The availability zone for the reserved capacity offering.ReservedCapacityOffering.BuilderdurationHours(Long durationHours)The number of whole hours in the total duration for this reserved capacity offering.ReservedCapacityOffering.BuilderdurationMinutes(Long durationMinutes)The additional minutes beyond whole hours in the total duration for this reserved capacity offering.ReservedCapacityOffering.BuilderendTime(Instant endTime)The end time of the reserved capacity offering.ReservedCapacityOffering.BuilderinstanceCount(Integer instanceCount)The number of instances in the reserved capacity offering.ReservedCapacityOffering.BuilderinstanceType(String instanceType)The instance type for the reserved capacity offering.ReservedCapacityOffering.BuilderinstanceType(ReservedCapacityInstanceType instanceType)The instance type for the reserved capacity offering.ReservedCapacityOffering.BuilderstartTime(Instant startTime)The start time of the reserved capacity offering.-
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
-
instanceType
ReservedCapacityOffering.Builder instanceType(String instanceType)
The instance type for the reserved capacity offering.
- Parameters:
instanceType- The instance type for the reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReservedCapacityInstanceType,ReservedCapacityInstanceType
-
instanceType
ReservedCapacityOffering.Builder instanceType(ReservedCapacityInstanceType instanceType)
The instance type for the reserved capacity offering.
- Parameters:
instanceType- The instance type for the reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReservedCapacityInstanceType,ReservedCapacityInstanceType
-
instanceCount
ReservedCapacityOffering.Builder instanceCount(Integer instanceCount)
The number of instances in the reserved capacity offering.
- Parameters:
instanceCount- The number of instances in the reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
ReservedCapacityOffering.Builder availabilityZone(String availabilityZone)
The availability zone for the reserved capacity offering.
- Parameters:
availabilityZone- The availability zone for the reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationHours
ReservedCapacityOffering.Builder durationHours(Long durationHours)
The number of whole hours in the total duration for this reserved capacity offering.
- Parameters:
durationHours- The number of whole hours in the total duration for this reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationMinutes
ReservedCapacityOffering.Builder durationMinutes(Long durationMinutes)
The additional minutes beyond whole hours in the total duration for this reserved capacity offering.
- Parameters:
durationMinutes- The additional minutes beyond whole hours in the total duration for this reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
ReservedCapacityOffering.Builder startTime(Instant startTime)
The start time of the reserved capacity offering.
- Parameters:
startTime- The start time of the reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ReservedCapacityOffering.Builder endTime(Instant endTime)
The end time of the reserved capacity offering.
- Parameters:
endTime- The end time of the reserved capacity offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-