Class CfnDataSet.IngestionWaitPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.IngestionWaitPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.IngestionWaitPolicyProperty>
- Enclosing interface:
CfnDataSet.IngestionWaitPolicyProperty
@Stability(Stable)
public static final class CfnDataSet.IngestionWaitPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.IngestionWaitPolicyProperty>
A builder for
CfnDataSet.IngestionWaitPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ingestionWaitTimeInHours
(Number ingestionWaitTimeInHours) Sets the value ofCfnDataSet.IngestionWaitPolicyProperty.getIngestionWaitTimeInHours()
waitForSpiceIngestion
(Boolean waitForSpiceIngestion) Sets the value ofCfnDataSet.IngestionWaitPolicyProperty.getWaitForSpiceIngestion()
waitForSpiceIngestion
(IResolvable waitForSpiceIngestion) Sets the value ofCfnDataSet.IngestionWaitPolicyProperty.getWaitForSpiceIngestion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ingestionWaitTimeInHours
@Stability(Stable) public CfnDataSet.IngestionWaitPolicyProperty.Builder ingestionWaitTimeInHours(Number ingestionWaitTimeInHours) Sets the value ofCfnDataSet.IngestionWaitPolicyProperty.getIngestionWaitTimeInHours()
- Parameters:
ingestionWaitTimeInHours
- The maximum time (in hours) to wait for Ingestion to complete. Default timeout is 36 hours. Applicable only whenDataSetImportMode
mode is set to SPICE andWaitForSpiceIngestion
is set to true.- Returns:
this
-
waitForSpiceIngestion
@Stability(Stable) public CfnDataSet.IngestionWaitPolicyProperty.Builder waitForSpiceIngestion(Boolean waitForSpiceIngestion) Sets the value ofCfnDataSet.IngestionWaitPolicyProperty.getWaitForSpiceIngestion()
- Parameters:
waitForSpiceIngestion
- Wait for SPICE ingestion to finish to mark dataset creation or update as successful. Default (true). Applicable only whenDataSetImportMode
mode is set to SPICE.- Returns:
this
-
waitForSpiceIngestion
@Stability(Stable) public CfnDataSet.IngestionWaitPolicyProperty.Builder waitForSpiceIngestion(IResolvable waitForSpiceIngestion) Sets the value ofCfnDataSet.IngestionWaitPolicyProperty.getWaitForSpiceIngestion()
- Parameters:
waitForSpiceIngestion
- Wait for SPICE ingestion to finish to mark dataset creation or update as successful. Default (true). Applicable only whenDataSetImportMode
mode is set to SPICE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSet.IngestionWaitPolicyProperty>
- Returns:
- a new instance of
CfnDataSet.IngestionWaitPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-