Interface GetPricingPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPricingPlanResponse.Builder,,GetPricingPlanResponse> IoTTwinMakerResponse.Builder,SdkBuilder<GetPricingPlanResponse.Builder,,GetPricingPlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPricingPlanResponse
public static interface GetPricingPlanResponse.Builder
extends IoTTwinMakerResponse.Builder, SdkPojo, CopyableBuilder<GetPricingPlanResponse.Builder,GetPricingPlanResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPricingPlanResponse.BuildercurrentPricingPlan(Consumer<PricingPlan.Builder> currentPricingPlan) The chosen pricing plan for the current billing cycle.currentPricingPlan(PricingPlan currentPricingPlan) The chosen pricing plan for the current billing cycle.default GetPricingPlanResponse.BuilderpendingPricingPlan(Consumer<PricingPlan.Builder> pendingPricingPlan) The pending pricing plan.pendingPricingPlan(PricingPlan pendingPricingPlan) 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
The chosen pricing plan for the current billing cycle.
- Parameters:
currentPricingPlan- The chosen pricing plan for the current billing cycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPricingPlan
default GetPricingPlanResponse.Builder currentPricingPlan(Consumer<PricingPlan.Builder> currentPricingPlan) The chosen pricing plan for the current billing cycle.
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
The pending pricing plan.
- Parameters:
pendingPricingPlan- The pending pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingPricingPlan
default GetPricingPlanResponse.Builder pendingPricingPlan(Consumer<PricingPlan.Builder> pendingPricingPlan) 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:
-