Interface ListPlansResponse.Builder
- All Superinterfaces:
ArcRegionSwitchResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPlansResponse.Builder,
,ListPlansResponse> SdkBuilder<ListPlansResponse.Builder,
,ListPlansResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPlansResponse
@Mutable
@NotThreadSafe
public static interface ListPlansResponse.Builder
extends ArcRegionSwitchResponse.Builder, SdkPojo, CopyableBuilder<ListPlansResponse.Builder,ListPlansResponse>
-
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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaAbbreviatedPlan.builder()
.When the
Consumer
completes,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
nextToken
response 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'snextToken
response 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 anextToken
response 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'snextToken
response to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-