Interface CreateInterruptibleCapacityReservationAllocationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateInterruptibleCapacityReservationAllocationResponse.Builder,CreateInterruptibleCapacityReservationAllocationResponse>,Ec2Response.Builder,SdkBuilder<CreateInterruptibleCapacityReservationAllocationResponse.Builder,CreateInterruptibleCapacityReservationAllocationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateInterruptibleCapacityReservationAllocationResponse
@Mutable @NotThreadSafe public static interface CreateInterruptibleCapacityReservationAllocationResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateInterruptibleCapacityReservationAllocationResponse.Builder,CreateInterruptibleCapacityReservationAllocationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateInterruptibleCapacityReservationAllocationResponse.BuilderinterruptionType(String interruptionType)The type of interruption applied to the interruptible reservation.CreateInterruptibleCapacityReservationAllocationResponse.BuilderinterruptionType(InterruptionType interruptionType)The type of interruption applied to the interruptible reservation.CreateInterruptibleCapacityReservationAllocationResponse.BuildersourceCapacityReservationId(String sourceCapacityReservationId)The ID of the source Capacity Reservation from which the interruptible Capacity Reservation was created.CreateInterruptibleCapacityReservationAllocationResponse.Builderstatus(String status)The current status of the allocation request (creating, active, updating).CreateInterruptibleCapacityReservationAllocationResponse.Builderstatus(InterruptibleCapacityReservationAllocationStatus status)The current status of the allocation request (creating, active, updating).CreateInterruptibleCapacityReservationAllocationResponse.BuildertargetInstanceCount(Integer targetInstanceCount)The number of instances allocated to the interruptible reservation.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
sourceCapacityReservationId
CreateInterruptibleCapacityReservationAllocationResponse.Builder sourceCapacityReservationId(String sourceCapacityReservationId)
The ID of the source Capacity Reservation from which the interruptible Capacity Reservation was created.
- Parameters:
sourceCapacityReservationId- The ID of the source Capacity Reservation from which the interruptible Capacity Reservation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstanceCount
CreateInterruptibleCapacityReservationAllocationResponse.Builder targetInstanceCount(Integer targetInstanceCount)
The number of instances allocated to the interruptible reservation.
- Parameters:
targetInstanceCount- The number of instances allocated to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateInterruptibleCapacityReservationAllocationResponse.Builder status(String status)
The current status of the allocation request (creating, active, updating).
- Parameters:
status- The current status of the allocation request (creating, active, updating).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterruptibleCapacityReservationAllocationStatus,InterruptibleCapacityReservationAllocationStatus
-
status
CreateInterruptibleCapacityReservationAllocationResponse.Builder status(InterruptibleCapacityReservationAllocationStatus status)
The current status of the allocation request (creating, active, updating).
- Parameters:
status- The current status of the allocation request (creating, active, updating).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterruptibleCapacityReservationAllocationStatus,InterruptibleCapacityReservationAllocationStatus
-
interruptionType
CreateInterruptibleCapacityReservationAllocationResponse.Builder interruptionType(String interruptionType)
The type of interruption applied to the interruptible reservation.
- Parameters:
interruptionType- The type of interruption applied to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterruptionType,InterruptionType
-
interruptionType
CreateInterruptibleCapacityReservationAllocationResponse.Builder interruptionType(InterruptionType interruptionType)
The type of interruption applied to the interruptible reservation.
- Parameters:
interruptionType- The type of interruption applied to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterruptionType,InterruptionType
-
-