public static interface RotationShift.Builder extends SdkPojo, CopyableBuilder<RotationShift.Builder,RotationShift>
| Modifier and Type | Method and Description |
|---|---|
RotationShift.Builder |
contactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
|
RotationShift.Builder |
contactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
|
RotationShift.Builder |
endTime(Instant endTime)
The time a shift rotation ends.
|
default RotationShift.Builder |
shiftDetails(Consumer<ShiftDetails.Builder> shiftDetails)
Additional information about an on-call rotation shift.
|
RotationShift.Builder |
shiftDetails(ShiftDetails shiftDetails)
Additional information about an on-call rotation shift.
|
RotationShift.Builder |
startTime(Instant startTime)
The time a shift rotation begins.
|
RotationShift.Builder |
type(ShiftType type)
The type of shift rotation.
|
RotationShift.Builder |
type(String type)
The type of shift rotation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRotationShift.Builder contactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
contactIds - The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.RotationShift.Builder contactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
contactIds - The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.RotationShift.Builder startTime(Instant startTime)
The time a shift rotation begins.
startTime - The time a shift rotation begins.RotationShift.Builder endTime(Instant endTime)
The time a shift rotation ends.
endTime - The time a shift rotation ends.RotationShift.Builder type(String type)
The type of shift rotation.
RotationShift.Builder type(ShiftType type)
The type of shift rotation.
RotationShift.Builder shiftDetails(ShiftDetails shiftDetails)
Additional information about an on-call rotation shift.
shiftDetails - Additional information about an on-call rotation shift.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.Builder avoiding the need
to create one manually via ShiftDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to shiftDetails(ShiftDetails).
shiftDetails - a consumer that will call methods on ShiftDetails.BuildershiftDetails(ShiftDetails)Copyright © 2023. All rights reserved.