Interface RotationShift.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RotationShift.Builder,RotationShift>,SdkBuilder<RotationShift.Builder,RotationShift>,SdkPojo
- Enclosing class:
- RotationShift
public static interface RotationShift.Builder extends SdkPojo, CopyableBuilder<RotationShift.Builder,RotationShift>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RotationShift.BuildercontactIds(String... contactIds)The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.RotationShift.BuildercontactIds(Collection<String> contactIds)The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.RotationShift.BuilderendTime(Instant endTime)The time a shift rotation ends.default RotationShift.BuildershiftDetails(Consumer<ShiftDetails.Builder> shiftDetails)Additional information about an on-call rotation shift.RotationShift.BuildershiftDetails(ShiftDetails shiftDetails)Additional information about an on-call rotation shift.RotationShift.BuilderstartTime(Instant startTime)The time a shift rotation begins.RotationShift.Buildertype(String type)The type of shift rotation.RotationShift.Buildertype(ShiftType type)The type of shift rotation.-
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
-
-
-
-
Method Detail
-
contactIds
RotationShift.Builder contactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
- Parameters:
contactIds- The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
RotationShift.Builder contactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
- Parameters:
contactIds- The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
RotationShift.Builder startTime(Instant startTime)
The time a shift rotation begins.
- Parameters:
startTime- The time a shift rotation begins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
RotationShift.Builder endTime(Instant endTime)
The time a shift rotation ends.
- Parameters:
endTime- The time a shift rotation ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
RotationShift.Builder type(String type)
The type of shift rotation.
-
type
RotationShift.Builder type(ShiftType type)
The type of shift rotation.
-
shiftDetails
RotationShift.Builder shiftDetails(ShiftDetails shiftDetails)
Additional information about an on-call rotation shift.
- Parameters:
shiftDetails- Additional information about an on-call rotation shift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shiftDetails
default RotationShift.Builder shiftDetails(Consumer<ShiftDetails.Builder> shiftDetails)
Additional information about an on-call rotation shift.
This is a convenience method that creates an instance of theShiftDetails.Builderavoiding the need to create one manually viaShiftDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toshiftDetails(ShiftDetails).- Parameters:
shiftDetails- a consumer that will call methods onShiftDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
shiftDetails(ShiftDetails)
-
-