Class CfnApplication.ApplicationRestoreConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.ApplicationRestoreConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ApplicationRestoreConfigurationProperty>
- Enclosing interface:
CfnApplication.ApplicationRestoreConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.ApplicationRestoreConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ApplicationRestoreConfigurationProperty>
A builder for
CfnApplication.ApplicationRestoreConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationRestoreType
(String applicationRestoreType) build()
Builds the configured instance.snapshotName
(String snapshotName) Sets the value ofCfnApplication.ApplicationRestoreConfigurationProperty.getSnapshotName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationRestoreType
@Stability(Stable) public CfnApplication.ApplicationRestoreConfigurationProperty.Builder applicationRestoreType(String applicationRestoreType) Sets the value ofCfnApplication.ApplicationRestoreConfigurationProperty.getApplicationRestoreType()
- Parameters:
applicationRestoreType
- Specifies how the application should be restored. This parameter is required.- Returns:
this
-
snapshotName
@Stability(Stable) public CfnApplication.ApplicationRestoreConfigurationProperty.Builder snapshotName(String snapshotName) Sets the value ofCfnApplication.ApplicationRestoreConfigurationProperty.getSnapshotName()
- Parameters:
snapshotName
- The identifier of an existing snapshot of application state to use to restart an application. The application uses this value ifRESTORE_FROM_CUSTOM_SNAPSHOT
is specified for theApplicationRestoreType
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.ApplicationRestoreConfigurationProperty>
- Returns:
- a new instance of
CfnApplication.ApplicationRestoreConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-