public static interface GetCapacityReservationUsageResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetCapacityReservationUsageResponse.Builder,GetCapacityReservationUsageResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCapacityReservationUsageResponse.Builder |
availableInstanceCount(Integer availableInstanceCount)
Sets the value of the AvailableInstanceCount property for this object.
|
GetCapacityReservationUsageResponse.Builder |
capacityReservationId(String capacityReservationId)
Sets the value of the CapacityReservationId property for this object.
|
GetCapacityReservationUsageResponse.Builder |
instanceType(String instanceType)
Sets the value of the InstanceType property for this object.
|
GetCapacityReservationUsageResponse.Builder |
instanceUsages(Collection<InstanceUsage> instanceUsages)
Sets the value of the InstanceUsages property for this object.
|
GetCapacityReservationUsageResponse.Builder |
instanceUsages(Consumer<InstanceUsage.Builder>... instanceUsages)
Sets the value of the InstanceUsages property for this object.
|
GetCapacityReservationUsageResponse.Builder |
instanceUsages(InstanceUsage... instanceUsages)
Sets the value of the InstanceUsages property for this object.
|
GetCapacityReservationUsageResponse.Builder |
nextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
GetCapacityReservationUsageResponse.Builder |
state(CapacityReservationState state)
Sets the value of the State property for this object.
|
GetCapacityReservationUsageResponse.Builder |
state(String state)
Sets the value of the State property for this object.
|
GetCapacityReservationUsageResponse.Builder |
totalInstanceCount(Integer totalInstanceCount)
Sets the value of the TotalInstanceCount property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCapacityReservationUsageResponse.Builder nextToken(String nextToken)
nextToken - The new value for the NextToken property for this object.GetCapacityReservationUsageResponse.Builder capacityReservationId(String capacityReservationId)
capacityReservationId - The new value for the CapacityReservationId property for this object.GetCapacityReservationUsageResponse.Builder instanceType(String instanceType)
instanceType - The new value for the InstanceType property for this object.GetCapacityReservationUsageResponse.Builder totalInstanceCount(Integer totalInstanceCount)
totalInstanceCount - The new value for the TotalInstanceCount property for this object.GetCapacityReservationUsageResponse.Builder availableInstanceCount(Integer availableInstanceCount)
availableInstanceCount - The new value for the AvailableInstanceCount property for this object.GetCapacityReservationUsageResponse.Builder state(String state)
state - The new value for the State property for this object.CapacityReservationState,
CapacityReservationStateGetCapacityReservationUsageResponse.Builder state(CapacityReservationState state)
state - The new value for the State property for this object.CapacityReservationState,
CapacityReservationStateGetCapacityReservationUsageResponse.Builder instanceUsages(Collection<InstanceUsage> instanceUsages)
instanceUsages - The new value for the InstanceUsages property for this object.GetCapacityReservationUsageResponse.Builder instanceUsages(InstanceUsage... instanceUsages)
instanceUsages - The new value for the InstanceUsages property for this object.GetCapacityReservationUsageResponse.Builder instanceUsages(Consumer<InstanceUsage.Builder>... instanceUsages)
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #instanceUsages(List) .instanceUsages - a consumer that will call methods on List.Builder #instanceUsages(List) Copyright © 2019. All rights reserved.