Interface RotationShift.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RotationShift.Builder,,RotationShift> SdkBuilder<RotationShift.Builder,,RotationShift> SdkPojo
- Enclosing class:
RotationShift
@Mutable
@NotThreadSafe
public static interface RotationShift.Builder
extends SdkPojo, CopyableBuilder<RotationShift.Builder,RotationShift>
-
Method Summary
Modifier and TypeMethodDescriptioncontactIds(String... contactIds) The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.contactIds(Collection<String> contactIds) The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.The time a shift rotation ends.default RotationShift.BuildershiftDetails(Consumer<ShiftDetails.Builder> shiftDetails) Additional information about an on-call rotation shift.shiftDetails(ShiftDetails shiftDetails) Additional information about an on-call rotation shift.The time a shift rotation begins.The type of shift rotation.The type of shift rotation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
The type of shift rotation.
- Parameters:
type- The type of shift rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of shift rotation.
- Parameters:
type- The type of shift rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-