Interface ListPlansInRegionResponse.Builder
- All Superinterfaces:
ArcRegionSwitchResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPlansInRegionResponse.Builder,,ListPlansInRegionResponse> SdkBuilder<ListPlansInRegionResponse.Builder,,ListPlansInRegionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPlansInRegionResponse
@Mutable
@NotThreadSafe
public static interface ListPlansInRegionResponse.Builder
extends ArcRegionSwitchResponse.Builder, SdkPojo, CopyableBuilder<ListPlansInRegionResponse.Builder,ListPlansInRegionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies that you want to receive the next page of results.plans(Collection<AbbreviatedPlan> plans) The plans that were requested.plans(Consumer<AbbreviatedPlan.Builder>... plans) The plans that were requested.plans(AbbreviatedPlan... plans) The plans that were requested.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
-
plans
The plans that were requested.
- Parameters:
plans- The plans that were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plans
The plans that were requested.
- Parameters:
plans- The plans that were requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plans
The plans that were requested.
This is a convenience method that creates an instance of theAbbreviatedPlan.Builderavoiding the need to create one manually viaAbbreviatedPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplans(List<AbbreviatedPlan>).- Parameters:
plans- a consumer that will call methods onAbbreviatedPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specifies that you want to receive the next page of results. Valid only if you received a
nextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'snextTokenresponse to request the next page of results.- Parameters:
nextToken- Specifies that you want to receive the next page of results. Valid only if you received anextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'snextTokenresponse to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-