Class CfnCampaign.QuietTimeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.QuietTimeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.QuietTimeProperty>
- Enclosing interface:
CfnCampaign.QuietTimeProperty
@Stability(Stable)
public static final class CfnCampaign.QuietTimeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.QuietTimeProperty>
A builder for
CfnCampaign.QuietTimeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCampaign.QuietTimeProperty.getEnd()
Sets the value ofCfnCampaign.QuietTimeProperty.getStart()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
end
Sets the value ofCfnCampaign.QuietTimeProperty.getEnd()
- Parameters:
end
- The specific time when quiet time ends. This parameter is required. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use02:30
to represent 2:30 AM, or14:30
to represent 2:30 PM.- Returns:
this
-
start
Sets the value ofCfnCampaign.QuietTimeProperty.getStart()
- Parameters:
start
- The specific time when quiet time begins. This parameter is required. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use02:30
to represent 2:30 AM, or14:30
to represent 2:30 PM.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign.QuietTimeProperty>
- Returns:
- a new instance of
CfnCampaign.QuietTimeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-