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