Interface UpdatePlanResponse.Builder
- All Superinterfaces:
ArcRegionSwitchResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdatePlanResponse.Builder,,UpdatePlanResponse> SdkBuilder<UpdatePlanResponse.Builder,,UpdatePlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdatePlanResponse
@Mutable
@NotThreadSafe
public static interface UpdatePlanResponse.Builder
extends ArcRegionSwitchResponse.Builder, SdkPojo, CopyableBuilder<UpdatePlanResponse.Builder,UpdatePlanResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatePlanResponse.Builderplan(Consumer<Plan.Builder> plan) The details of the updated Region switch plan.The details of the updated Region switch plan.Methods inherited from interface software.amazon.awssdk.services.arcregionswitch.model.ArcRegionSwitchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
plan
The details of the updated Region switch plan.
- Parameters:
plan- The details of the updated Region switch plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plan
The details of the updated Region switch plan.
This is a convenience method that creates an instance of thePlan.Builderavoiding the need to create one manually viaPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplan(Plan).- Parameters:
plan- a consumer that will call methods onPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-