Class CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.nimblestudio.mixins.CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty>
- Enclosing interface:
CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty
@Stability(Stable)
public static final class CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxBackupsToRetain(Number maxBackupsToRetain)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxBackupsToRetain
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty.Builder maxBackupsToRetain(Number maxBackupsToRetain) Sets the value ofCfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty.getMaxBackupsToRetain()- Parameters:
maxBackupsToRetain- the value to be set.- Returns:
this
-
mode
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty.Builder mode(String mode) - Parameters:
mode- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty>- Returns:
- a new instance of
CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty - Throws:
NullPointerException- if any required attribute was not provided
-