Interface CreateCapacityReservationFleetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateCapacityReservationFleetResponse.Builder,CreateCapacityReservationFleetResponse>
,Ec2Response.Builder
,SdkBuilder<CreateCapacityReservationFleetResponse.Builder,CreateCapacityReservationFleetResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateCapacityReservationFleetResponse
public static interface CreateCapacityReservationFleetResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateCapacityReservationFleetResponse.Builder,CreateCapacityReservationFleetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCapacityReservationFleetResponse.Builder
allocationStrategy(String allocationStrategy)
The allocation strategy used by the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
capacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
createTime(Instant createTime)
The date and time at which the Capacity Reservation Fleet was created.CreateCapacityReservationFleetResponse.Builder
endDate(Instant endDate)
The date and time at which the Capacity Reservation Fleet expires.CreateCapacityReservationFleetResponse.Builder
fleetCapacityReservations(Collection<FleetCapacityReservation> fleetCapacityReservations)
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
fleetCapacityReservations(Consumer<FleetCapacityReservation.Builder>... fleetCapacityReservations)
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
fleetCapacityReservations(FleetCapacityReservation... fleetCapacityReservations)
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
instanceMatchCriteria(String instanceMatchCriteria)
The instance matching criteria for the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
instanceMatchCriteria(FleetInstanceMatchCriteria instanceMatchCriteria)
The instance matching criteria for the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
state(String state)
The status of the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
state(CapacityReservationFleetState state)
The status of the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
tags(Collection<Tag> tags)
The tags assigned to the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
tags(Tag... tags)
The tags assigned to the Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
tenancy(String tenancy)
Indicates the tenancy of Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
tenancy(FleetCapacityReservationTenancy tenancy)
Indicates the tenancy of Capacity Reservation Fleet.CreateCapacityReservationFleetResponse.Builder
totalFulfilledCapacity(Double totalFulfilledCapacity)
The requested capacity units that have been successfully reserved.CreateCapacityReservationFleetResponse.Builder
totalTargetCapacity(Integer totalTargetCapacity)
The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
capacityReservationFleetId
CreateCapacityReservationFleetResponse.Builder capacityReservationFleetId(String capacityReservationFleetId)
The ID of the Capacity Reservation Fleet.
- Parameters:
capacityReservationFleetId
- The ID of the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
CreateCapacityReservationFleetResponse.Builder state(String state)
The status of the Capacity Reservation Fleet.
- Parameters:
state
- The status of the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacityReservationFleetState
,CapacityReservationFleetState
-
state
CreateCapacityReservationFleetResponse.Builder state(CapacityReservationFleetState state)
The status of the Capacity Reservation Fleet.
- Parameters:
state
- The status of the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacityReservationFleetState
,CapacityReservationFleetState
-
totalTargetCapacity
CreateCapacityReservationFleetResponse.Builder totalTargetCapacity(Integer totalTargetCapacity)
The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
- Parameters:
totalTargetCapacity
- The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalFulfilledCapacity
CreateCapacityReservationFleetResponse.Builder totalFulfilledCapacity(Double totalFulfilledCapacity)
The requested capacity units that have been successfully reserved.
- Parameters:
totalFulfilledCapacity
- The requested capacity units that have been successfully reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMatchCriteria
CreateCapacityReservationFleetResponse.Builder instanceMatchCriteria(String instanceMatchCriteria)
The instance matching criteria for the Capacity Reservation Fleet.
- Parameters:
instanceMatchCriteria
- The instance matching criteria for the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FleetInstanceMatchCriteria
,FleetInstanceMatchCriteria
-
instanceMatchCriteria
CreateCapacityReservationFleetResponse.Builder instanceMatchCriteria(FleetInstanceMatchCriteria instanceMatchCriteria)
The instance matching criteria for the Capacity Reservation Fleet.
- Parameters:
instanceMatchCriteria
- The instance matching criteria for the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FleetInstanceMatchCriteria
,FleetInstanceMatchCriteria
-
allocationStrategy
CreateCapacityReservationFleetResponse.Builder allocationStrategy(String allocationStrategy)
The allocation strategy used by the Capacity Reservation Fleet.
- Parameters:
allocationStrategy
- The allocation strategy used by the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
CreateCapacityReservationFleetResponse.Builder createTime(Instant createTime)
The date and time at which the Capacity Reservation Fleet was created.
- Parameters:
createTime
- The date and time at which the Capacity Reservation Fleet was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
CreateCapacityReservationFleetResponse.Builder endDate(Instant endDate)
The date and time at which the Capacity Reservation Fleet expires.
- Parameters:
endDate
- The date and time at which the Capacity Reservation Fleet expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
CreateCapacityReservationFleetResponse.Builder tenancy(String tenancy)
Indicates the tenancy of Capacity Reservation Fleet.
- Parameters:
tenancy
- Indicates the tenancy of Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FleetCapacityReservationTenancy
,FleetCapacityReservationTenancy
-
tenancy
CreateCapacityReservationFleetResponse.Builder tenancy(FleetCapacityReservationTenancy tenancy)
Indicates the tenancy of Capacity Reservation Fleet.
- Parameters:
tenancy
- Indicates the tenancy of Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FleetCapacityReservationTenancy
,FleetCapacityReservationTenancy
-
fleetCapacityReservations
CreateCapacityReservationFleetResponse.Builder fleetCapacityReservations(Collection<FleetCapacityReservation> fleetCapacityReservations)
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
- Parameters:
fleetCapacityReservations
- Information about the individual Capacity Reservations in the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetCapacityReservations
CreateCapacityReservationFleetResponse.Builder fleetCapacityReservations(FleetCapacityReservation... fleetCapacityReservations)
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
- Parameters:
fleetCapacityReservations
- Information about the individual Capacity Reservations in the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetCapacityReservations
CreateCapacityReservationFleetResponse.Builder fleetCapacityReservations(Consumer<FleetCapacityReservation.Builder>... fleetCapacityReservations)
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
This is a convenience method that creates an instance of theFleetCapacityReservation.Builder
avoiding the need to create one manually viaFleetCapacityReservation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#fleetCapacityReservations(List
.) - Parameters:
fleetCapacityReservations
- a consumer that will call methods onFleetCapacityReservation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fleetCapacityReservations(java.util.Collection
)
-
tags
CreateCapacityReservationFleetResponse.Builder tags(Collection<Tag> tags)
The tags assigned to the Capacity Reservation Fleet.
- Parameters:
tags
- The tags assigned to the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCapacityReservationFleetResponse.Builder tags(Tag... tags)
The tags assigned to the Capacity Reservation Fleet.
- Parameters:
tags
- The tags assigned to the Capacity Reservation Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCapacityReservationFleetResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Capacity Reservation Fleet.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
-