Interface ReservedCapacitySummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReservedCapacitySummary.Builder,ReservedCapacitySummary>,SdkBuilder<ReservedCapacitySummary.Builder,ReservedCapacitySummary>,SdkPojo
- Enclosing class:
- ReservedCapacitySummary
public static interface ReservedCapacitySummary.Builder extends SdkPojo, CopyableBuilder<ReservedCapacitySummary.Builder,ReservedCapacitySummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReservedCapacitySummary.BuilderavailabilityZone(String availabilityZone)The availability zone for the reserved capacity.ReservedCapacitySummary.BuilderdurationHours(Long durationHours)The number of whole hours in the total duration for this reserved capacity.ReservedCapacitySummary.BuilderdurationMinutes(Long durationMinutes)The additional minutes beyond whole hours in the total duration for this reserved capacity.ReservedCapacitySummary.BuilderendTime(Instant endTime)The end time of the reserved capacity.ReservedCapacitySummary.BuilderinstanceType(String instanceType)The instance type for the reserved capacity.ReservedCapacitySummary.BuilderinstanceType(ReservedCapacityInstanceType instanceType)The instance type for the reserved capacity.ReservedCapacitySummary.BuilderreservedCapacityArn(String reservedCapacityArn)The Amazon Resource Name (ARN); of the reserved capacity.ReservedCapacitySummary.BuilderstartTime(Instant startTime)The start time of the reserved capacity.ReservedCapacitySummary.Builderstatus(String status)The current status of the reserved capacity.ReservedCapacitySummary.Builderstatus(ReservedCapacityStatus status)The current status of the reserved capacity.ReservedCapacitySummary.BuildertotalInstanceCount(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 Detail
-
reservedCapacityArn
ReservedCapacitySummary.Builder reservedCapacityArn(String 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
ReservedCapacitySummary.Builder instanceType(String 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:
ReservedCapacityInstanceType,ReservedCapacityInstanceType
-
instanceType
ReservedCapacitySummary.Builder instanceType(ReservedCapacityInstanceType 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:
ReservedCapacityInstanceType,ReservedCapacityInstanceType
-
totalInstanceCount
ReservedCapacitySummary.Builder totalInstanceCount(Integer 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
ReservedCapacitySummary.Builder status(String 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:
ReservedCapacityStatus,ReservedCapacityStatus
-
status
ReservedCapacitySummary.Builder status(ReservedCapacityStatus 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:
ReservedCapacityStatus,ReservedCapacityStatus
-
availabilityZone
ReservedCapacitySummary.Builder availabilityZone(String 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
ReservedCapacitySummary.Builder durationHours(Long 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
ReservedCapacitySummary.Builder durationMinutes(Long 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
ReservedCapacitySummary.Builder startTime(Instant 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
ReservedCapacitySummary.Builder endTime(Instant 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.
-
-