Interface ListPreviewRotationShiftsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPreviewRotationShiftsResponse.Builder,ListPreviewRotationShiftsResponse>,SdkBuilder<ListPreviewRotationShiftsResponse.Builder,ListPreviewRotationShiftsResponse>,SdkPojo,SdkResponse.Builder,SsmContactsResponse.Builder
- Enclosing class:
- ListPreviewRotationShiftsResponse
public static interface ListPreviewRotationShiftsResponse.Builder extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListPreviewRotationShiftsResponse.Builder,ListPreviewRotationShiftsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPreviewRotationShiftsResponse.BuildernextToken(String nextToken)The token for the next set of items to return.ListPreviewRotationShiftsResponse.BuilderrotationShifts(Collection<RotationShift> rotationShifts)Details about a rotation shift, including times, types, and contacts.ListPreviewRotationShiftsResponse.BuilderrotationShifts(Consumer<RotationShift.Builder>... rotationShifts)Details about a rotation shift, including times, types, and contacts.ListPreviewRotationShiftsResponse.BuilderrotationShifts(RotationShift... rotationShifts)Details about a rotation shift, including times, types, and contacts.-
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
-
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
rotationShifts
ListPreviewRotationShiftsResponse.Builder rotationShifts(Collection<RotationShift> rotationShifts)
Details about a rotation shift, including times, types, and contacts.
- Parameters:
rotationShifts- Details about a rotation shift, including times, types, and contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationShifts
ListPreviewRotationShiftsResponse.Builder rotationShifts(RotationShift... rotationShifts)
Details about a rotation shift, including times, types, and contacts.
- Parameters:
rotationShifts- Details about a rotation shift, including times, types, and contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationShifts
ListPreviewRotationShiftsResponse.Builder rotationShifts(Consumer<RotationShift.Builder>... rotationShifts)
Details about a rotation shift, including times, types, and contacts.
This is a convenience method that creates an instance of theRotationShift.Builderavoiding the need to create one manually viaRotationShift.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rotationShifts(List.) - Parameters:
rotationShifts- a consumer that will call methods onRotationShift.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rotationShifts(java.util.Collection)
-
nextToken
ListPreviewRotationShiftsResponse.Builder nextToken(String nextToken)
The token for the next set of items to return. This token is used to get the next set of results.
- Parameters:
nextToken- The token for the next set of items to return. This token is used to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-