Interface CreatePlanResponse.Builder
- All Superinterfaces:
ArcRegionSwitchResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreatePlanResponse.Builder,,CreatePlanResponse> SdkBuilder<CreatePlanResponse.Builder,,CreatePlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreatePlanResponse
@Mutable
@NotThreadSafe
public static interface CreatePlanResponse.Builder
extends ArcRegionSwitchResponse.Builder, SdkPojo, CopyableBuilder<CreatePlanResponse.Builder,CreatePlanResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreatePlanResponse.Builderplan(Consumer<Plan.Builder> plan) The details of the created Region switch plan.The details of the created 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 created Region switch plan.
- Parameters:
plan- The details of the created Region switch plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plan
The details of the created 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:
-