Interface ListAutoshiftsResponse.Builder
-
- All Superinterfaces:
ArcZonalShiftResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListAutoshiftsResponse.Builder,ListAutoshiftsResponse>,SdkBuilder<ListAutoshiftsResponse.Builder,ListAutoshiftsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAutoshiftsResponse
public static interface ListAutoshiftsResponse.Builder extends ArcZonalShiftResponse.Builder, SdkPojo, CopyableBuilder<ListAutoshiftsResponse.Builder,ListAutoshiftsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAutoshiftsResponse.Builderitems(Collection<AutoshiftSummary> items)The items in the response list.ListAutoshiftsResponse.Builderitems(Consumer<AutoshiftSummary.Builder>... items)The items in the response list.ListAutoshiftsResponse.Builderitems(AutoshiftSummary... items)The items in the response list.ListAutoshiftsResponse.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
ListAutoshiftsResponse.Builder items(Collection<AutoshiftSummary> 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
ListAutoshiftsResponse.Builder items(AutoshiftSummary... 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
ListAutoshiftsResponse.Builder items(Consumer<AutoshiftSummary.Builder>... items)
The items in the response list.
This is a convenience method that creates an instance of theAutoshiftSummary.Builderavoiding the need to create one manually viaAutoshiftSummary.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 onAutoshiftSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListAutoshiftsResponse.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.
-
-