Class BetweenCondition.Builder
java.lang.Object
software.amazon.awscdk.services.sns.BetweenCondition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BetweenCondition>
- Enclosing interface:
BetweenCondition
@Stability(Stable)
public static final class BetweenCondition.Builder
extends Object
implements software.amazon.jsii.Builder<BetweenCondition>
A builder for
BetweenCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofBetweenCondition.getStart()
Sets the value ofBetweenCondition.getStop()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
start
Sets the value ofBetweenCondition.getStart()
- Parameters:
start
- The start value. This parameter is required.- Returns:
this
-
stop
Sets the value ofBetweenCondition.getStop()
- Parameters:
stop
- The stop value. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BetweenCondition>
- Returns:
- a new instance of
BetweenCondition
- Throws:
NullPointerException
- if any required attribute was not provided
-