Class CfnRotation.CoverageTimeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnRotation.CoverageTimeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRotation.CoverageTimeProperty>
- Enclosing interface:
CfnRotation.CoverageTimeProperty
@Stability(Stable)
public static final class CfnRotation.CoverageTimeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRotation.CoverageTimeProperty>
A builder for
CfnRotation.CoverageTimeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRotation.CoverageTimeProperty.getEndTime()
Sets the value ofCfnRotation.CoverageTimeProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endTime
Sets the value ofCfnRotation.CoverageTimeProperty.getEndTime()
- Parameters:
endTime
- Information about when an on-call rotation shift ends. This parameter is required.- Returns:
this
-
startTime
Sets the value ofCfnRotation.CoverageTimeProperty.getStartTime()
- Parameters:
startTime
- Information about when an on-call rotation shift begins. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRotation.CoverageTimeProperty>
- Returns:
- a new instance of
CfnRotation.CoverageTimeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-