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