Interface CoverageTime.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CoverageTime.Builder,,CoverageTime> SdkBuilder<CoverageTime.Builder,,CoverageTime> SdkPojo
- Enclosing class:
CoverageTime
@Mutable
@NotThreadSafe
public static interface CoverageTime.Builder
extends SdkPojo, CopyableBuilder<CoverageTime.Builder,CoverageTime>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CoverageTime.Builderend(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.Builderstart(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
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
-
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.Builderavoiding the need to create one manually viaHandOffTime.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaHandOffTime.builder().When the
Consumercompletes,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:
-