Interface ModifyCapacityReservationResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ModifyCapacityReservationResponse.Builder,,- ModifyCapacityReservationResponse> - ElasticLoadBalancingV2Response.Builder,- SdkBuilder<ModifyCapacityReservationResponse.Builder,,- ModifyCapacityReservationResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ModifyCapacityReservationResponse
@Mutable
@NotThreadSafe
public static interface ModifyCapacityReservationResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<ModifyCapacityReservationResponse.Builder,ModifyCapacityReservationResponse> 
- 
Method SummaryModifier and TypeMethodDescriptioncapacityReservationState(Collection<ZonalCapacityReservationState> capacityReservationState) The state of the capacity reservation.capacityReservationState(Consumer<ZonalCapacityReservationState.Builder>... capacityReservationState) The state of the capacity reservation.capacityReservationState(ZonalCapacityReservationState... capacityReservationState) The state of the capacity reservation.decreaseRequestsRemaining(Integer decreaseRequestsRemaining) The amount of daily capacity decreases remaining.lastModifiedTime(Instant lastModifiedTime) The last time the capacity reservation was modified.minimumLoadBalancerCapacity(Consumer<MinimumLoadBalancerCapacity.Builder> minimumLoadBalancerCapacity) The requested minimum capacity reservation for the load balancerminimumLoadBalancerCapacity(MinimumLoadBalancerCapacity minimumLoadBalancerCapacity) The requested minimum capacity reservation for the load balancerMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
lastModifiedTimeThe last time the capacity reservation was modified. - Parameters:
- lastModifiedTime- The last time the capacity reservation was modified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
decreaseRequestsRemainingModifyCapacityReservationResponse.Builder decreaseRequestsRemaining(Integer decreaseRequestsRemaining) The amount of daily capacity decreases remaining. - Parameters:
- decreaseRequestsRemaining- The amount of daily capacity decreases remaining.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
minimumLoadBalancerCapacityModifyCapacityReservationResponse.Builder minimumLoadBalancerCapacity(MinimumLoadBalancerCapacity minimumLoadBalancerCapacity) The requested minimum capacity reservation for the load balancer - Parameters:
- minimumLoadBalancerCapacity- The requested minimum capacity reservation for the load balancer
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
minimumLoadBalancerCapacitydefault ModifyCapacityReservationResponse.Builder minimumLoadBalancerCapacity(Consumer<MinimumLoadBalancerCapacity.Builder> minimumLoadBalancerCapacity) The requested minimum capacity reservation for the load balancer This is a convenience method that creates an instance of theMinimumLoadBalancerCapacity.Builderavoiding the need to create one manually viaMinimumLoadBalancerCapacity.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tominimumLoadBalancerCapacity(MinimumLoadBalancerCapacity).- Parameters:
- minimumLoadBalancerCapacity- a consumer that will call methods on- MinimumLoadBalancerCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
capacityReservationStateModifyCapacityReservationResponse.Builder capacityReservationState(Collection<ZonalCapacityReservationState> capacityReservationState) The state of the capacity reservation. - Parameters:
- capacityReservationState- The state of the capacity reservation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
capacityReservationStateModifyCapacityReservationResponse.Builder capacityReservationState(ZonalCapacityReservationState... capacityReservationState) The state of the capacity reservation. - Parameters:
- capacityReservationState- The state of the capacity reservation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
capacityReservationStateModifyCapacityReservationResponse.Builder capacityReservationState(Consumer<ZonalCapacityReservationState.Builder>... capacityReservationState) The state of the capacity reservation. This is a convenience method that creates an instance of theZonalCapacityReservationState.Builderavoiding the need to create one manually viaZonalCapacityReservationState.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityReservationState(List<ZonalCapacityReservationState>).- Parameters:
- capacityReservationState- a consumer that will call methods on- ZonalCapacityReservationState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-