Interface UpdatePricingPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdatePricingPlanResponse.Builder,,UpdatePricingPlanResponse> IoTTwinMakerResponse.Builder,SdkBuilder<UpdatePricingPlanResponse.Builder,,UpdatePricingPlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdatePricingPlanResponse
public static interface UpdatePricingPlanResponse.Builder
extends IoTTwinMakerResponse.Builder, SdkPojo, CopyableBuilder<UpdatePricingPlanResponse.Builder,UpdatePricingPlanResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncurrentPricingPlan(Consumer<PricingPlan.Builder> currentPricingPlan) Update the current pricing plan.currentPricingPlan(PricingPlan currentPricingPlan) Update the current pricing plan.pendingPricingPlan(Consumer<PricingPlan.Builder> pendingPricingPlan) Update the pending pricing plan.pendingPricingPlan(PricingPlan pendingPricingPlan) Update the pending pricing plan.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
currentPricingPlan
Update the current pricing plan.
- Parameters:
currentPricingPlan- Update the current pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPricingPlan
default UpdatePricingPlanResponse.Builder currentPricingPlan(Consumer<PricingPlan.Builder> currentPricingPlan) Update the current pricing plan.
This is a convenience method that creates an instance of thePricingPlan.Builderavoiding the need to create one manually viaPricingPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentPricingPlan(PricingPlan).- Parameters:
currentPricingPlan- a consumer that will call methods onPricingPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingPricingPlan
Update the pending pricing plan.
- Parameters:
pendingPricingPlan- Update the pending pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingPricingPlan
default UpdatePricingPlanResponse.Builder pendingPricingPlan(Consumer<PricingPlan.Builder> pendingPricingPlan) Update the pending pricing plan.
This is a convenience method that creates an instance of thePricingPlan.Builderavoiding the need to create one manually viaPricingPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topendingPricingPlan(PricingPlan).- Parameters:
pendingPricingPlan- a consumer that will call methods onPricingPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-