Interface ListZonalShiftsResponse.Builder
-
- All Superinterfaces:
ArcZonalShiftResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListZonalShiftsResponse.Builder,ListZonalShiftsResponse>,SdkBuilder<ListZonalShiftsResponse.Builder,ListZonalShiftsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListZonalShiftsResponse
public static interface ListZonalShiftsResponse.Builder extends ArcZonalShiftResponse.Builder, SdkPojo, CopyableBuilder<ListZonalShiftsResponse.Builder,ListZonalShiftsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListZonalShiftsResponse.Builderitems(Collection<ZonalShiftSummary> items)The items in the response list.ListZonalShiftsResponse.Builderitems(Consumer<ZonalShiftSummary.Builder>... items)The items in the response list.ListZonalShiftsResponse.Builderitems(ZonalShiftSummary... items)The items in the response list.ListZonalShiftsResponse.BuildernextToken(String nextToken)Specifies that you want to receive the next page of results.-
Methods inherited from interface software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
ListZonalShiftsResponse.Builder items(Collection<ZonalShiftSummary> items)
The items in the response list.
- Parameters:
items- The items in the response list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListZonalShiftsResponse.Builder items(ZonalShiftSummary... items)
The items in the response list.
- Parameters:
items- The items in the response list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListZonalShiftsResponse.Builder items(Consumer<ZonalShiftSummary.Builder>... items)
The items in the response list.
This is a convenience method that creates an instance of theZonalShiftSummary.Builderavoiding the need to create one manually viaZonalShiftSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onZonalShiftSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListZonalShiftsResponse.Builder nextToken(String 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.
-
-