Class CfnSubscriberPropsMixin.PointInTimeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnSubscriberPropsMixin.PointInTimeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriberPropsMixin.PointInTimeConfigurationProperty>
- Enclosing interface:
CfnSubscriberPropsMixin.PointInTimeConfigurationProperty
@Stability(Stable)
public static final class CfnSubscriberPropsMixin.PointInTimeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriberPropsMixin.PointInTimeConfigurationProperty>
A builder for
CfnSubscriberPropsMixin.PointInTimeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSubscriberPropsMixin.PointInTimeConfigurationProperty.getEndPoint()Sets the value ofCfnSubscriberPropsMixin.PointInTimeConfigurationProperty.getPointType()startingPoint(Number startingPoint)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endPoint
@Stability(Stable) public CfnSubscriberPropsMixin.PointInTimeConfigurationProperty.Builder endPoint(Number endPoint) Sets the value ofCfnSubscriberPropsMixin.PointInTimeConfigurationProperty.getEndPoint()- Parameters:
endPoint- An optional time to stop delivering events at, in seconds since the Unix epoch.- Returns:
this
-
pointType
@Stability(Stable) public CfnSubscriberPropsMixin.PointInTimeConfigurationProperty.Builder pointType(String pointType) Sets the value ofCfnSubscriberPropsMixin.PointInTimeConfigurationProperty.getPointType()- Parameters:
pointType- Where to start: HORIZON starts from the earliest available event;. TIMESTAMP starts from the StartingPoint timestamp.- Returns:
this
-
startingPoint
@Stability(Stable) public CfnSubscriberPropsMixin.PointInTimeConfigurationProperty.Builder startingPoint(Number startingPoint) - Parameters:
startingPoint- The time to start delivering events from, in seconds since the Unix epoch. Required when PointType is TIMESTAMP.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriberPropsMixin.PointInTimeConfigurationProperty>- Returns:
- a new instance of
CfnSubscriberPropsMixin.PointInTimeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-