Class CfnLaunchProfile.StreamConfigurationSessionBackupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnLaunchProfile.StreamConfigurationSessionBackupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchProfile.StreamConfigurationSessionBackupProperty>
- Enclosing interface:
CfnLaunchProfile.StreamConfigurationSessionBackupProperty
@Stability(Stable)
public static final class CfnLaunchProfile.StreamConfigurationSessionBackupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchProfile.StreamConfigurationSessionBackupProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxBackupsToRetain(Number maxBackupsToRetain) Sets the value ofCfnLaunchProfile.StreamConfigurationSessionBackupProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxBackupsToRetain
@Stability(Stable) public CfnLaunchProfile.StreamConfigurationSessionBackupProperty.Builder maxBackupsToRetain(Number maxBackupsToRetain) - Parameters:
maxBackupsToRetain- The maximum number of backups that each streaming session created from this launch profile can have.- Returns:
this
-
mode
@Stability(Stable) public CfnLaunchProfile.StreamConfigurationSessionBackupProperty.Builder mode(String mode) Sets the value ofCfnLaunchProfile.StreamConfigurationSessionBackupProperty.getMode()- Parameters:
mode- Specifies how artists sessions are backed up. Configures backups for streaming sessions launched with this launch profile. The default value isDEACTIVATED, which means that backups are deactivated. To allow backups, set this value toAUTOMATIC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchProfile.StreamConfigurationSessionBackupProperty>- Returns:
- a new instance of
CfnLaunchProfile.StreamConfigurationSessionBackupProperty - Throws:
NullPointerException- if any required attribute was not provided
-