Interface ListRotationShiftsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRotationShiftsResponse.Builder,ListRotationShiftsResponse>,SdkBuilder<ListRotationShiftsResponse.Builder,ListRotationShiftsResponse>,SdkPojo,SdkResponse.Builder,SsmContactsResponse.Builder
- Enclosing class:
- ListRotationShiftsResponse
public static interface ListRotationShiftsResponse.Builder extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListRotationShiftsResponse.Builder,ListRotationShiftsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRotationShiftsResponse.BuildernextToken(String nextToken)The token for the next set of items to return.ListRotationShiftsResponse.BuilderrotationShifts(Collection<RotationShift> rotationShifts)Information about shifts that meet the filter criteria.ListRotationShiftsResponse.BuilderrotationShifts(Consumer<RotationShift.Builder>... rotationShifts)Information about shifts that meet the filter criteria.ListRotationShiftsResponse.BuilderrotationShifts(RotationShift... rotationShifts)Information about shifts that meet the filter criteria.-
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
ListRotationShiftsResponse.Builder rotationShifts(Collection<RotationShift> rotationShifts)
Information about shifts that meet the filter criteria.
- Parameters:
rotationShifts- Information about shifts that meet the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationShifts
ListRotationShiftsResponse.Builder rotationShifts(RotationShift... rotationShifts)
Information about shifts that meet the filter criteria.
- Parameters:
rotationShifts- Information about shifts that meet the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationShifts
ListRotationShiftsResponse.Builder rotationShifts(Consumer<RotationShift.Builder>... rotationShifts)
Information about shifts that meet the filter criteria.
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
ListRotationShiftsResponse.Builder nextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken- The token for the next set of items to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-