Class CfnDataset.SessionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnDataset.SessionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.SessionConfigProperty>
- Enclosing interface:
CfnDataset.SessionConfigProperty
@Stability(Stable)
public static final class CfnDataset.SessionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.SessionConfigProperty>
A builder for
CfnDataset.SessionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sessionEndTime(String sessionEndTime) Sets the value ofCfnDataset.SessionConfigProperty.getSessionEndTime()sessionStartTime(String sessionStartTime) Sets the value ofCfnDataset.SessionConfigProperty.getSessionStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sessionEndTime
@Stability(Stable) public CfnDataset.SessionConfigProperty.Builder sessionEndTime(String sessionEndTime) Sets the value ofCfnDataset.SessionConfigProperty.getSessionEndTime()- Parameters:
sessionEndTime- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z. This parameter is required.- Returns:
this
-
sessionStartTime
@Stability(Stable) public CfnDataset.SessionConfigProperty.Builder sessionStartTime(String sessionStartTime) Sets the value ofCfnDataset.SessionConfigProperty.getSessionStartTime()- Parameters:
sessionStartTime- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.SessionConfigProperty>- Returns:
- a new instance of
CfnDataset.SessionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-