Interface ReservedCapacitySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedCapacitySummary.Builder,
,ReservedCapacitySummary> SdkBuilder<ReservedCapacitySummary.Builder,
,ReservedCapacitySummary> SdkPojo
- Enclosing class:
ReservedCapacitySummary
@Mutable
@NotThreadSafe
public static interface ReservedCapacitySummary.Builder
extends SdkPojo, CopyableBuilder<ReservedCapacitySummary.Builder,ReservedCapacitySummary>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The availability zone for the reserved capacity.durationHours
(Long durationHours) The number of whole hours in the total duration for this reserved capacity.durationMinutes
(Long durationMinutes) The additional minutes beyond whole hours in the total duration for this reserved capacity.The end time of the reserved capacity.instanceType
(String instanceType) The instance type for the reserved capacity.instanceType
(ReservedCapacityInstanceType instanceType) The instance type for the reserved capacity.reservedCapacityArn
(String reservedCapacityArn) The Amazon Resource Name (ARN); of the reserved capacity.The start time of the reserved capacity.The current status of the reserved capacity.status
(ReservedCapacityStatus status) The current status of the reserved capacity.totalInstanceCount
(Integer totalInstanceCount) The total number of instances in the reserved capacity.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 Details
-
reservedCapacityArn
The Amazon Resource Name (ARN); of the reserved capacity.
- Parameters:
reservedCapacityArn
- The Amazon Resource Name (ARN); of the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type for the reserved capacity.
- Parameters:
instanceType
- The instance type for the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type for the reserved capacity.
- Parameters:
instanceType
- The instance type for the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalInstanceCount
The total number of instances in the reserved capacity.
- Parameters:
totalInstanceCount
- The total number of instances in the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the reserved capacity.
- Parameters:
status
- The current status of the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the reserved capacity.
- Parameters:
status
- The current status of the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZone
The availability zone for the reserved capacity.
- Parameters:
availabilityZone
- The availability zone for the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationHours
The number of whole hours in the total duration for this reserved capacity.
- Parameters:
durationHours
- The number of whole hours in the total duration for this reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationMinutes
The additional minutes beyond whole hours in the total duration for this reserved capacity.
- Parameters:
durationMinutes
- The additional minutes beyond whole hours in the total duration for this reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time of the reserved capacity.
- Parameters:
startTime
- The start time of the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the reserved capacity.
- Parameters:
endTime
- The end time of the reserved capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-