Interface CoverageTime.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CoverageTime.Builder,
,CoverageTime> SdkBuilder<CoverageTime.Builder,
,CoverageTime> SdkPojo
- Enclosing class:
CoverageTime
public static interface CoverageTime.Builder
extends SdkPojo, CopyableBuilder<CoverageTime.Builder,CoverageTime>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CoverageTime.Builder
end
(Consumer<HandOffTime.Builder> end) Information about when the on-call rotation shift ends.end
(HandOffTime end) Information about when the on-call rotation shift ends.default CoverageTime.Builder
start
(Consumer<HandOffTime.Builder> start) Information about when the on-call rotation shift begins.start
(HandOffTime start) Information about when the on-call rotation shift begins.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 Details
-
start
Information about when the on-call rotation shift begins.
- Parameters:
start
- Information about when the on-call rotation shift begins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
start
Information about when the on-call rotation shift begins.
This is a convenience method that creates an instance of theHandOffTime.Builder
avoiding the need to create one manually viaHandOffTime.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostart(HandOffTime)
.- Parameters:
start
- a consumer that will call methods onHandOffTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
end
Information about when the on-call rotation shift ends.
- Parameters:
end
- Information about when the on-call rotation shift ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
Information about when the on-call rotation shift ends.
This is a convenience method that creates an instance of theHandOffTime.Builder
avoiding the need to create one manually viaHandOffTime.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toend(HandOffTime)
.- Parameters:
end
- a consumer that will call methods onHandOffTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-